ShareShortcuts

Record My Lectures

shahd-s
Fork “Record My Lectures”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so shahd-s gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
68K
Saved
0
Actions
30
Category
Utilities
Version
1.1
Language
EN

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

Version History
1.1 Jun 26, 2019

Lol sorry didn’t give an option to save the recordings

1.0 Jun 25, 2019

First release

What it does

30 actions
  1. Ask for Input
    How many classes today?
  2. Set Variable
    classesNum
  3. Dictionary
  4. Repeat
  5. Ask for Input
    When are ur classes? 🤨
  6. Format Date
  7. Set Variable
    classTime
  8. Number
  9. Set Variable
    classDuration
  10. Nothing
  11. Set Dictionary Value
  12. Set Variable
    classesDict
  13. Number
  14. Set Variable
    Index
  15. Get Variable
  16. Repeat with Each
  17. Get Dictionary Value
  18. Set Variable
    Time
  19. Get Time Between Dates
  20. Set Variable
    timeToClassSecs
  21. Get Variable
  22. Get Item from List
  23. Get Dictionary Value
  24. Set Variable
    Duration
  25. Wait
  26. Record Audio
  27. Save File
  28. Get Variable
  29. Calculate
  30. Set Variable
    Index

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement