Scanne avec ton iPhone pour installer
Aperçu
Enable/disable background sounds
Nouveautés
Version 1.1
Some housecleaning
Ce qu’il fait
11 actions-
CommentThis shortcut allows you to enable Background Sounds and choose what plays. By running a second time and choosing ‘ON’ again you can change the sound. Run the shortcut again and choose ‘OFF’ to turn it off.
-
CommentThis also sets the default volume of background sounds down a bit as the original default is quite loud.
-
A X Set Background Sound Volumecom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Choose from MenuOn or Off?
-
Choose from MenuON / Change sound
-
A X Set Background Soundcom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Wait
-
A X Toggle Background Soundscom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Choose from MenuOFF
-
A X Toggle Background Soundscom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Stop This Shortcut
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#define glyph musicWaveForm
/*
This shortcut allows you to enable Background Sounds and choose what plays. By running a second time and choosing ‘ON’ again you can change the sound.
Run the shortcut again and choose ‘OFF’ to turn it off.
*/
// This also sets the default volume of background sounds down a bit as the original default is quite loud.
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXSetBackgroundSoundVolumeIntent", {
"volumeValue": 30.120772123336792
})
menu "On or Off?" {
item "ON / Change sound":
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXSetBackgroundSoundIntent", {
"backgroundSound": "Ask"
})
wait(0)
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXToggleBackgroundSoundsIntent", {
"operation": "turn",
"setting": "backgroundSounds",
"state": 1
})
item "OFF":
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXToggleBackgroundSoundsIntent", {
"operation": "turn",
"setting": "backgroundSounds",
"state": 0
})
stop()
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de te55eract
Ça pourrait aussi te plaire
Publicité