Mit dem iPhone scannen, um zu installieren
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.
Neue Funktionen
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.
Was er macht
35 Aktionen-
Choose from MenuIs an Apple Watch currently on?
-
Choose from MenuYes
-
N P R F Set Water Lockcom.apple.NanoSettings
-
Set Volume
-
Speak Text
-
Wait
-
Speak Text
-
Wait
-
Speak Text
-
Get Current Song
-
Play Music
-
Wait
-
Speak Text
-
Wait
-
Speak Text
-
Wait
-
Play/Pause
-
Speak Text
-
Choose from MenuNo
-
Set Volume
-
Speak Text
-
Wait
-
Speak Text
-
Wait
-
Speak Text
-
Get Current Song
-
Play Music
-
Wait
-
Speak Text
-
Wait
-
Speak Text
-
Wait
-
Play/Pause
-
Speak Text
-
Stop This Shortcut
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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()
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 thatistay1244
Das gefällt dir vielleicht auch
Werbung