Scan med din iPhone for at installere
Forhåndsvisning
Enable/disable background sounds
Nyheder
Version 1.1
Some housecleaning
Hvad den gør
11 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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()
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra te55eract
Du vil måske også kunne lide
Annonce