Login About Gallery
Open App w/Notification Tap
COMMENT
‎When you tap a notification created by a shortcut, it will always open the Shortcuts app. **Make sure the Shortcuts app is NOT frontmost when testing this shortcut.**
NOTIFICATIONS
‎Show notification ‎Input
‎Options Under Construction
DATE
‎Current Date
COMMENT
‎👆The above Date action creates a timestamp of when the shortcut notification was created. The Wait to return action below is waiting for you to return to the Shortcuts app, whether by Tapping the Notification or just opening the Shortcuts app.👇
SCRIPTING
‎Wait to return
COMMENT
‎Always ensure the earlier date is first, otherwise you’ll need to use negative numbers in your If Statement.👇
CALENDAR
‎Get time between ‎Date ‎and ‎Current Date ‎in ‎Minutes
COMMENT
‎This If Statement determines if it has been less than or greater than 30 minutes since the notification was created.
SCRIPTING
‎If ‎Time Between Dates ‎is less than ‎30
COMMENT
‎If it has been Less Than 30 min, it will open the application.
SCRIPTING
‎Open ‎App
SCRIPTING
‎Otherwise
COMMENT
‎If it has been greater than 30 min, which may indicate that you ignored or dismissed the notification, it will do nothing or whatever alternative actions you prefer after this point. Unless the shortcut times out before you return, then it will do nothing either way. But it could take a significant amount of time to timeout. Note: This will help reduce accidentally opening the app if you return to the shortcuts app to do something else, by forcing a 30 minute timeout, because the shortcut can’t tell if you tapped the notification or opened Shortcuts manually.
SCRIPTING
‎End If

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 7 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0