ShareShortcuts

Background Sounds

Enable/disable background sounds

te55eract
Fazer fork de “Background Sounds”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que te55eract receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
12K
Salvo
0
Ações
11
Categoria
API
Versão
1.1
Idioma
EN

Pré-visualização

Enable/disable background sounds

Novidades

Versão 1.1

Some housecleaning

Histórico de versões
1.1 4 de nov de 2025

Some housecleaning

1.0 17 de ago de 2025

First release

O que ele faz

11 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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()
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de te55eract

Ver tudo

Você também pode gostar

Ver tudo
Publicidade