ShareShortcuts

AppTime

Set a social media app usage reminder

blackhatteam
Fork “AppTime”

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 blackhatteam 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
34K
Saved
0
Actions
35
Category
Utilities
Version
1.0
Language
EN

Set a social media app usage reminder. Do you find yourself scrolling through your social media apps for longer than you had planned? Do you need a reminder to let you know how long you have been on an app like Facebook, Instagram or Reddit? You may benefit from AppTime. A reminder is created that is sent after 15, 30, 45 and 60 minutes after a social media app from the menu selection is opened.

What's New

Version 1.0

First release

Version History
1.0 Mar 11, 2023

First release

What it does

35 actions
  1. Comment
    V1.0 A reminder will be sent after you have been on a social media app for a set period of time. BlackHat Team © 2023
  2. Get File
  3. If
  4. Create Folder
  5. Show Alert
  6. Open URLs
  7. Wait
  8. Text
  9. Close Tab
    com.apple.mobilesafari
  10. Show Alert
  11. Open App
  12. Show Notification
    Tap "Add List" if a default list is not set.
  13. Stop This Shortcut
  14. Choose from Menu
    App Usage Reminder
  15. Choose from Menu
    15 Minutes
  16. Text
  17. Choose from Menu
    30 Minutes
  18. Text
  19. Choose from Menu
    45 Minutea
  20. Text
  21. Choose from Menu
    60 Minutes
  22. Text
  23. Text
  24. Date
  25. Adjust Date
  26. Add New Reminder
  27. Choose from Menu
  28. Choose from Menu
    Facebook
  29. Open App
  30. Choose from Menu
    Instagram
  31. Open App
  32. Choose from Menu
    Reddit
  33. Open App
  34. Choose from Menu
    Twitter
  35. Open App

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/web'
#include 'actions/documents'
#define color violet
#define glyph iPhoneApps

/*
V1.0

A reminder will be sent after you have been on a social media app for a set period of time. 

BlackHat Team © 2023
*/
const File = getFileFromFolder(, "AppTime", false)

if !File {
	createFolder("AppTime")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/apptime.html")
	wait(4)
	const Text = "AppTime"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	confirm("A default Reminder List is needed. Set one now? ")
	openApp("com.apple.reminders")
	showNotification("Tap \"Add List\" if a default list is not set. ")
	stop()
}

menu "App Usage Reminder " {
item "15 Minutes ":
item "30 Minutes ":
item "45 Minutea":
item "60 Minutes ":
}
currentDate()
adjustDate(, "")
rawAction("is.workflow.actions.addnewreminder", {
	"WFAlertCondition": "At Time",
	"WFAlertCustomTime": "{}",
	"WFAlertEnabled": "Alert",
	"WFCalendarDescriptor": "",
	"WFCalendarItemCalendar": "Daily",
	"WFCalendarItemTitle": "{}"
})

menu nil {
item "Facebook ":
	openApp("com.facebook.Facebook")
item "Instagram":
	openApp("com.burbn.instagram")
item "Reddit":
	openApp("com.reddit.Reddit")
item "Twitter":
	openApp("com.atebits.Tweetie2")
}
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 blackhatteam

See All

You Might Also Like

See All
Advertisement