ShareShortcuts

Cold Shower timer IceMan Wim Hof Method 4m+30s 1.02

👋 Hi there from @nitrogene057 👋 What it does and how it works ?

nitrogen057
Создать форк «Cold Shower timer IceMan Wim Hof Method 4m+30s 1.02»

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

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
34K
Сохранено
0
Действия
14
Категория
Productivity
Версия
1.0
Язык
EN

👋 Hi there from @nitrogene057 👋

What it does and how it works ?

Before jumping into shower

First, you need to start music in your fav app and then run shortcut

🚿🤩Warm water part:🤩🚿

Music will play for 4 minutes

Then 1 time sound will singnal start of

🚿🥶Cold Water part 🥶🚿

2nd sound in 15 seconds

3rd sound in another 15

You choose when to stop 😂

Then music will continue, meaning it makes sense to close water and get dry 🤗

It will propose to create Calendar event with logged time of shower to track sessions over time

Что нового

Версия 1.0

First release

История версий
1.0 16 мар 2023 г.

First release

Что делает

Действий: 14
  1. Comment
    👋 Hi there from @nitrogene 👋 What it does and how it works ? Before jumping into shower First, you need to start music in your fav app and then run shortcut 🚿🤩Warm water part:🤩🚿 Music will play for 4 minutes Then 1 time sound will singnal star…
  2. Comment
    Created by: Gene Can be reached at routinehub.co/user/nitrogene v1.02: - Added Dictionary to continue to version check later - added description comment
  3. Dictionary
  4. Show Alert
  5. Play/Pause
  6. Wait
  7. Play/Pause
  8. Play Sound
  9. Wait
  10. Play Sound
  11. Wait
  12. Play/Pause
  13. Adjust Date
  14. Add New Event

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

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

#include 'actions/music'
#define color red
#define glyph shower

/*
👋 Hi there from @nitrogene 👋

What it does and how it works ? 

Before jumping into shower 
First, you need to start music in your fav app and then run shortcut 

🚿🤩Warm  water part:🤩🚿
Music will play for 4 minutes 
Then 1 time sound will singnal start of 

🚿🥶Cold Water part 🥶🚿
2nd  sound in 15 seconds 
3rd sound in  another 15 
You choose when to stop 😂
Then music will continue, meaning it makes sense to close water and get dry 🤗

It will propose to create Calendar event with logged time of shower to track sessions  over  time 
*/
/*
Created by: Gene 
Can be reached at 
routinehub.co/user/nitrogene

v1.02:
- Added Dictionary to continue to version check later 
- added description comment  
*/
confirm("🎵Start music in your favourite app then Run this shortcut \n\n❗️Consult doctor before doing this❗️\n🥵 🚿 🥶  \n4 min hot - 30 sec cold shower Ice man Hoffman method\n\nIt will pause after 4 minutes - time to turn to cold water\nAfter first 15 sec - notification sound will play  and after second 15 sec\nTotal 30 sec of  cold shower 🥶\nAfter music will continue \nCalendar event will be created to log it ")
pause()
wait(240)
play()
playSound(nil)
wait(15)
playSound(nil)
wait(15)
play()
adjustDate(CurrentDate, "Subtract")
rawAction("is.workflow.actions.addnewevent", {
	"WFCalendarItemEndDate": "{CurrentDate}",
	"WFCalendarItemStartDate": "{}",
	"WFCalendarItemTitle": "CldShwr"
})
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

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

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

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

Реклама

Ещё от nitrogen057

См. все

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

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