Mit dem iPhone scannen, um zu installieren
Vorschau
Enable/disable background sounds
Neue Funktionen
Version 1.1
Some housecleaning
Was er macht
11 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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()
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von te55eract
Das gefällt dir vielleicht auch
Werbung