ShareShortcuts

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

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

nitrogen057
Dupliquer « Cold Shower timer IceMan Wim Hof Method 4m+30s 1.02 »

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 nitrogen057 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
34K
Enregistré
0
Actions
14
Catégorie
Productivity
Version
1.0
Langue
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

Nouveautés

Version 1.0

First release

Historique des versions
1.0 16 mars 2023

First release

Ce qu’il fait

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

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.

#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"
})
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 nitrogen057

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité