Scan with your iPhone to install
When The timer’s done it’ll play a Specified Song
What's New
Version 1.0
First release
What it does
6 actions-
Select Music
-
Ask For Durationcom.sindresorhus.Actions
-
Start Timer
-
Wait
-
Cancel Timercom.apple.mobiletimer
-
Play Music
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/music'
#define color yellow
#define glyph timer
const Music = selectMusic()
rawAction("com.sindresorhus.Actions.AskForDurationIntent", {
"AppIntentDescriptor": "",
"maxiumDuration": "",
"minimumDuration": "",
"mode": "hourMinuteSecond",
"timeout": "",
"title": "When Do you want The Music To Start?"
})
startTimer()
wait(Duration)
rawAction("com.apple.mobiletimer.CancelTimerIntent", {
"AppIntentDescriptor": ""
})
playMusic(Music)
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by dojorama
You Might Also Like
Advertisement