ShareShortcuts

Washing Hands

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

thatistay1244
Создать форк «Washing Hands»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы thatistay1244 получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
49K
Сохранено
1
Действия
35
Категория
Utilities
Версия
2.1
Язык
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.

Что нового

Версия 2.1

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

История версий
2.1 10 апр 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 ноя 2021 г.

Compacted code, simplified, excluded explicit music

1.1 27 сен 2021 г.

Updated buggy music

1.0 8 июл 2021 г.

First release

Что делает

Действий: 35
  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

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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()
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от thatistay1244

См. все

Вам также может понравиться

См. все
Реклама