ShareShortcuts

Break Scheduler

Automates your work day!

gutlessbubble96
Fork “Break Scheduler”

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 gutlessbubble96 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
49K
Saved
2
Actions
25
Category
Productivity
Version
1.0
Language
EN

Automates your work day! Use this to automatically set alarms as a heads up for your breaks (also see my break Automator shortcut) Also includes some optional ideas to personalize, like a place to message a significant other your break schedule and a place to start any work mode scenes you may have set up with your smart home or smart devices at work.

What's New

Version 1.0

First release

Version History
1.0 Jul 18, 2021

First release

What it does

25 actions
  1. Set Bluetooth
  2. Set Low Power Mode
  3. Set Focus
  4. Ask for Input
    When is your first break?
  5. Add to Variable
  6. Ask for Input
    When is your 2nd break?
  7. Add to Variable
  8. Choose from Menu
    How many additional breaks?
  9. Choose from Menu
    One
  10. Ask for Input
    When is your 3rd break?
  11. Add to Variable
  12. Choose from Menu
    Two
  13. Ask for Input
    When is your 3rd break?
  14. Add to Variable
  15. Ask for Input
    When is your 4rd break?
  16. Add to Variable
  17. Choose from Menu
    None
  18. Repeat with Each
  19. M T Create Alarm
    com.apple.mobiletimer-framework.MobileTimerIntents
  20. Send Message
  21. Choose from Menu
    Should I turn on the Good Morning Scene
  22. Choose from Menu
    Yes
  23. Homeaccessory
  24. Kasa Run Scene
    com.tplink.kasa-ios
  25. Choose from Menu
    No

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/sharing'
#define mac false
#include 'actions/device'
#define color darkgray
#define glyph timer

setBluetooth(0)
setLowPowerMode(1)
setFocusMode(, "Time", "10 pm")
prompt("When is your first break?", "Time")
@BreakTimes
prompt("When is your 2nd break?", "Time")
@BreakTimes

menu "How many additional breaks?" {
item "One":
	prompt("When is your 3rd break?", "Time")
	@BreakTimes
item "Two":
	prompt("When is your 3rd break?", "Time")
	@BreakTimes
	prompt("When is your 4rd break?", "Time")
	@BreakTimes
item "None":
}

for _ in @BreakTimes {
	createAlarm("", @RepeatItem)
}
sendMessage(, "Break times (add 5 min to each): \n{@BreakTimes}", true)

menu "Should I turn on the Good Morning Scene" {
item "Yes":
	rawAction("is.workflow.actions.homeaccessory", {
		"WFHomeTriggerActionSets": ""
	})
	rawAction("com.tplink.kasa-ios.KasaRunSceneIntent", {
		"ShowWhenRun": false,
		"scene": ""
	})
item "No":
}
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 gutlessbubble96

See All

You Might Also Like

See All
Advertisement