ShareShortcuts

Reset Alarm

Set and Reset your alarm for 30 minutes, each 5 minutes apart

pratikgadani
Fork “Reset Alarm”

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 pratikgadani 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
28K
Saved
1
Actions
10
Category
Productivity
Version
1.0
Language
EN

Preview

Set and Reset your alarm for 30 minutes, each 5 minutes apart. To avoid duplicity the shortcut will delete all alarms and create new. Also an option to delete all the alarms without setting a new one

What's New

Version 1.0

First release

Version History
1.0 Nov 21, 2023

First release

What it does

10 actions
  1. Get Alarms
    com.apple.mobiletimer-framework.MobileTimerIntents
  2. If
  3. Run Shortcut
    Set new Alarm
  4. If
  5. Choose from Menu
    What do you want?
  6. Choose from Menu
    Delete alarms and set new ones
  7. Delete Alarm
    com.apple.mobiletimer
  8. Run Shortcut
    Set new Alarm
  9. Choose from Menu
    Delete the alarms
  10. Delete Alarm
    com.apple.mobiletimer

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 darkorange

const Alarm = getAlarms()

if !Alarm {
	runSelf(ShortcutResult)
} else {
	menu "What do you want?" {
	item "Delete alarms and set new ones":
		rawAction("com.apple.mobiletimer.DeleteAlarmIntent", {
			"AppIntentDescriptor": "",
			"entities": "Alarm"
		})
		run("Set new Alarm", ShortcutResult)
	item "Delete the alarms":
		rawAction("com.apple.mobiletimer.DeleteAlarmIntent", {
			"AppIntentDescriptor": "",
			"entities": "Alarm"
		})
	}
}
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

You Might Also Like

See All
Advertisement