Отсканируй на iPhone, чтобы установить
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
Что нового
Версия 1.1
Lol sorry didn’t give an option to save the recordings
Что делает
Действий: 30-
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
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от shahd-s
Вам также может понравиться
Реклама