ShareShortcuts

Washing Hands

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

thatistay1244
Dupliquer « Washing Hands »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que thatistay1244 soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
49K
Enregistré
1
Actions
35
Catégorie
Utilities
Version
2.1
Langue
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.

Nouveautés

Version 2.1

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

Historique des versions
2.1 10 avr. 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 nov. 2021

Compacted code, simplified, excluded explicit music

1.1 27 sept. 2021

Updated buggy music

1.0 8 juil. 2021

First release

Ce qu’il fait

35 actions
  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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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()
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de thatistay1244

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité