ShareShortcuts

Washing Hands

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

thatistay1244
Fork “Washing Hands”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så thatistay1244 får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
49K
Gemt
1
Handlinger
35
Kategori
Værktøjer
Version
2.1
Sprog
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.

Nyheder

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.

Versionshistorik
2.1 10. apr. 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. sep. 2021

Updated buggy music

1.0 8. jul. 2021

First release

Hvad den gør

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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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()
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra thatistay1244

Se alle

Du vil måske også kunne lide

Se alle
Annonce