This shortcut asks you when your lectures are, and it will automatically record at that time for 1 hour and 15 minutes.
Originally I had an option for you to add your lecture duration, but the stupid voice memo thing won’t let me have a duration variable.
Make sure to run the shortcut on the same day as your lectures. Idk if it’ll work otherwise
What's New
Version 1.1
Lol sorry didn’t give an option to save the recordings
What it does
30 actions-
Ask for InputHow many classes today?
-
Set VariableclassesNum
-
Dictionary
-
Repeat
-
Ask for InputWhen are ur classes? 🤨
-
Format Date
-
Set VariableclassTime
-
Number
-
Set VariableclassDuration
-
Nothing
-
Set Dictionary Value
-
Set VariableclassesDict
-
Number
-
Set VariableIndex
-
Get Variable
-
Repeat with Each
-
Get Dictionary Value
-
Set VariableTime
-
Get Time Between Dates
-
Set VariabletimeToClassSecs
-
Get Variable
-
Get Item from List
-
Get Dictionary Value
-
Set VariableDuration
-
Wait
-
Record Audio
-
Save File
-
Get Variable
-
Calculate
-
Set VariableIndex
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/calendar'
#define color pink
#define glyph circledPlay
prompt("How many classes today?", "Number")
@classesNum = nil
repeat _ for @classesNum {
prompt("When are ur classes? 🤨", "Date")
formatDate("", "None")
@classTime = nil
@classDuration = 0
nothing()
setValue(nil, @classTime, @classDuration)
}
@classesDict = nil
@Index = 1
// TODO: Get Variable not supported: Assign variable here to '@classesDict'.
for _ in nil {
getValues({})
@Time = nil
rawAction("is.workflow.actions.gettimebetweendates", {
"WFTimeUntilUnit": "Seconds"
})
@timeToClassSecs = nil
// TODO: Get Variable not supported: Assign variable here to '@classesDict'.
getListItems(nil, 0, 0)
@Duration = nil[@Time]
wait(@timeToClassSecs)
recordAudio(, "Immediately")
saveFilePrompt(nil)
// TODO: Get Variable not supported: Assign variable here to '@Index'.
@Index = nil + 1
}
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 shahd-s
You Might Also Like
Advertisement