ShareShortcuts

Background Sounds

Enable/disable background sounds

te55eract
„Background Sounds“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit te55eract die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
12K
Gesichert
0
Aktionen
11
Kategorie
API
Version
1.1
Sprache
EN

Vorschau

Enable/disable background sounds

Neue Funktionen

Version 1.1

Some housecleaning

Versionsverlauf
1.1 4. Nov 2025

Some housecleaning

1.0 17. Aug 2025

First release

Was er macht

11 Aktionen
  1. Comment
    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.
  2. Comment
    This also sets the default volume of background sounds down a bit as the original default is quite loud.
  3. A X Set Background Sound Volume
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  4. Choose from Menu
    On or Off?
  5. Choose from Menu
    ON / Change sound
  6. A X Set Background Sound
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  7. Wait
  8. A X Toggle Background Sounds
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  9. Choose from Menu
    OFF
  10. A X Toggle Background Sounds
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  11. Stop This Shortcut

Als Code ansehen
Beta

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

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung