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
Novidades
Versão 1.1
Lol sorry didn’t give an option to save the recordings
O que ele faz
30 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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
}
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de shahd-s
Você também pode gostar
Publicidade