ShareShortcuts

Washing Hands

This shortcut will help you wash your hands for as long as you should

thatistay1244
Fazer fork de “Washing Hands”

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 thatistay1244 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
49K
Salvo
1
Ações
35
Categoria
Utilities
Versão
2.1
Idioma
EN

This shortcut will help you wash your hands for as long as you should. The amount of time that you wash your hands is in accordance to the CDC Guidelines. To enable by Siri simply say “Hey Siri, wash my hands.” You can also enable it directly by the Shortcuts app.

Novidades

Versão 2.1

-Updated voice from robot-like voice to new Siri voice. - Changed waiting time to be in appliance with the new CDC guidelines.

Histórico de versões
2.1 10 de abr de 2022

-Updated voice from robot-like voice to new Siri voice. - Changed waiting time to be in appliance with the new CDC guidelines.

2.0 13 de nov de 2021

Compacted code, simplified, excluded explicit music

1.1 27 de set de 2021

Updated buggy music

1.0 8 de jul de 2021

First release

O que ele faz

35 ações
  1. Choose from Menu
    Is an Apple Watch currently on?
  2. Choose from Menu
    Yes
  3. N P R F Set Water Lock
    com.apple.NanoSettings
  4. Set Volume
  5. Speak Text
  6. Wait
  7. Speak Text
  8. Wait
  9. Speak Text
  10. Get Current Song
  11. Play Music
  12. Wait
  13. Speak Text
  14. Wait
  15. Speak Text
  16. Wait
  17. Play/Pause
  18. Speak Text
  19. Choose from Menu
    No
  20. Set Volume
  21. Speak Text
  22. Wait
  23. Speak Text
  24. Wait
  25. Speak Text
  26. Get Current Song
  27. Play Music
  28. Wait
  29. Speak Text
  30. Wait
  31. Speak Text
  32. Wait
  33. Play/Pause
  34. Speak Text
  35. 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 color blue
#define glyph personAlter


menu "Is an Apple Watch currently on?" {
item "Yes":
	rawAction("com.apple.NanoSettings.NPRFSetWaterLockIntent", {
		"ShowWhenRun": false
	})
	setVolume(0.75)
	speak("Please prepare to wash your hands, then turn on the faucet.", "en-US")
	wait(3)
	speak("Please get your hands wet.", "en-US")
	wait(3)
	speak("Please apply soap and lather.", "en-US")
	const CurrentSong = getCurrentSong()
	playMusic(CurrentSong, "Songs", "None")
	wait(20)
	speak("Please rinse your hands.", "en-US")
	wait(4)
	speak("Please turn off the faucet and dry your hands.", "en-US")
	wait(20)
	pause()
	speak("You're done washing your hands.", "en-US")
item "No":
	setVolume(0.7533557)
	speak("Please prepare to wash your hands, then turn on the faucet.", "en-US")
	wait(3)
	speak("Please get your hands wet.", "en-US")
	wait(3)
	speak("Please apply soap and lather.", "en-US")
	const CurrentSong1 = getCurrentSong()
	playMusic(CurrentSong1, "Songs")
	wait(20)
	speak("Please rinse your hands.", "en-US")
	wait(4)
	speak("Please turn off the faucet and dry your hands.", "en-US")
	wait(20)
	togglePlayPause()
	speak("You are done washing your hands.", "en-US")
}
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 thatistay1244

Ver tudo

Você também pode gostar

Ver tudo
Publicidade