ShareShortcuts

Homework Notifications +

Add your homeworks in, it will save plus notificates you

aster
Dupliquer « Homework Notifications + »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que aster soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
22K
Enregistré
1
Actions
126
Catégorie
Productivity
Version
1.0
Langue
EN

Aperçu

Add your homeworks in, it will save plus notificates you

Nouveautés

Version 1.0

First release

Historique des versions
1.0 4 juil. 2024

First release

Ce qu’il fait

126 actions
  1. Comment
    [NG-HWNTFCTNS+-5-TH30MY24-*]
  2. Find Reminders
  3. Count
  4. Repeat with Each
  5. Split Text
  6. Get Item from List
  7. Get Item from List
  8. If
  9. Set Variable
    English
  10. If
  11. If
  12. Set Variable
    Mathematics
  13. If
  14. If
  15. Set Variable
    Science
  16. If
  17. If
  18. Set Variable
    Geography
  19. If
  20. If
  21. Set Variable
    History
  22. If
  23. If
  24. Set Variable
    English Literature
  25. If
  26. If
  27. Set Variable
    Spanish
  28. If
  29. If
  30. Set Variable
    ESL
  31. If
  32. If
  33. Set Variable
    ICT
  34. If
  35. If
  36. Set Variable
    Personal
  37. If
  38. Choose from Menu
    New Homework or Look for pending work […]
  39. Choose from Menu
    English [English]
  40. Text
  41. Choose from Menu
    Mathematics [Mathematics]
  42. Text
  43. Choose from Menu
    Science [Science]
  44. Text
  45. Choose from Menu
    Geography [Geography]
  46. Text
  47. Choose from Menu
    History [History]
  48. Text
  49. Choose from Menu
    English Literature [English Literature]
  50. Text
  51. Choose from Menu
    Spanish [Spanish]
  52. Text
  53. Choose from Menu
    ESL [ESL]
  54. Text
  55. Choose from Menu
    ICT [ICT]
  56. Text
  57. Choose from Menu
    Personal [Personal]
  58. Text
  59. Choose from Menu
    -All pending- [EnglishMathematicsScienceGeographyHistoryEnglish LiteratureSpanishESLICTPersonal] [Count]
  60. Choose from List
  61. If
  62. Show Alert
  63. Stop This Shortcut
  64. If
  65. If
  66. Stop This Shortcut
  67. If
  68. Comment
    repeat here
  69. Get Details of Reminders
  70. Show Result
  71. Count
  72. If
  73. Text
  74. If
  75. Text
  76. Choose from Menu
    Custom
  77. Choose from Menu
    Edit note Available or not
  78. If
  79. Show Alert
    !!!
  80. If
  81. Ask for Input
    Edit note
  82. Setters Reminders
  83. Choose from Menu
    Complete
  84. Repeat with Each
  85. Remove Reminders
  86. Show Notification
    Congratulations!
  87. Choose from Menu
    Nothing
  88. Stop This Shortcut
  89. Text
  90. Choose from Menu
    Work Type
  91. Choose from Menu
    Text Book Work
  92. Ask for Input
    The Page
  93. Ask for Input
    Question number
  94. Text
  95. Choose from Menu
    Work Book Work
  96. Ask for Input
    The Page
  97. Ask for Input
    Question Number
  98. Text
  99. Choose from Menu
    Document Work
  100. Ask for Input
    Online or Manual?
  101. Text
  102. Choose from Menu
    Writing
  103. Ask for Input
    To write about
  104. Text
  105. Choose from Menu
    Reading
  106. Ask for Input
    To read about
  107. Text
  108. Choose from Menu
    Interviewing
  109. Text
  110. Ask for Input
    Interviewing details
  111. Choose from Menu
    Preparing Presentation
  112. Text
  113. Ask for Input
    Presentation details
  114. Choose from Menu
    -Custom Work-
  115. Ask for Input
    Custom detail
  116. Ask for Input
    Your own comment and strategy
  117. If
  118. Text
  119. If
  120. Text
  121. Ask for Input
    due date
  122. List
  123. Choose from List
  124. Text
  125. Text
  126. Add New Reminder

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#define color orange
#define glyph iPhoneWave

// [NG-HWNTFCTNS+-5-TH30MY24-*]

const PendingWork = rawAction("is.workflow.actions.filter.reminders")
count(PendingWork)

for _ in PendingWork {
	const SplitText = splitText(@RepeatItem, " | ")
	const DetectSubject = getListItems(SplitText, 0, 0)
	if DetectSubject == "English" {
		@English = getFirstItem(SplitText)
	} else {
		if DetectSubject contains "Mathematics" {
			@Mathematics = Priority
		} else {
			if DetectSubject contains "Science" {
				@Science = Priority
			} else {
				if DetectSubject contains "Geography" {
					@Geography = Priority
				} else {
					if DetectSubject contains "History" {
						@History = Priority
					} else {
						if DetectSubject contains "English Literature" {
							@EnglishLiterature = Priority
						} else {
							if DetectSubject contains "Spanish" {
								@Spanish = Priority
							} else {
								if DetectSubject contains "ESL" {
									@ESL = Priority
								} else {
									if DetectSubject contains "ICT" {
										@ICT = Priority
									} else {
										if DetectSubject contains "Online Tutor" {
											@Personal = Priority
										} else {
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

menu "New Homework or Look for pending work [{}]" {
item "English [{@English}]":
item "Mathematics [{@Mathematics}]":
item "Science [{@Science}]":
item "Geography [{@Geography}]":
item "History [{@History}]":
item "English Literature [{@EnglishLiterature}]":
item "Spanish [{@Spanish}]":
item "ESL [{@ESL}]":
item "ICT [{@ICT}]":
item "Personal [{@Personal}]":
item "-All pending- [{@English}{@Mathematics}{@Science}{@Geography}{@History}{@EnglishLiterature}{@Spanish}{@ESL}{@ICT}{@Personal}] [{}]":
	const PendingWorkChosenItem = chooseFromList(PendingWork, true, false)
	if !PendingWork {
		confirm("Congrats! No Pending Homeworks!")
		stop()
	} else {
		if !PendingWorkChosenItem {
			stop()
		} else {
		}
	}
	// repeat here

	const PendingWorkNote = rawAction("is.workflow.actions.properties.reminders")
	show(PendingWorkNote)
	const PendingWorkNumberOrChosen = count(PendingWorkChosenItem)
	if PendingWorkNumberOrChosen > 1 {
	} else {
	}
	menu "Custom" {
	item "Edit note {AvailableOrNot}":
		if PendingWorkNumberOrChosen > 1 {
			alert("To edit must be 1 Chosen item", "!!!")
		} else {
			const PendingWorkEditInput = prompt("Edit note")
			rawAction("is.workflow.actions.setters.reminders", {
				"Mode": "Set",
				"WFContentItemPropertyName": "Notes",
				"WFInput": "PendingWorkChosenItem",
				"WFReminderContentItemNotes": "{PendingWorkEditInput}"
			})
		}
	item :
		for _ in PendingWorkChosenItem {
			removeReminders(@RepeatItem)
		}
		showNotification("Congratulations!")
	item "Complete":
	}
	stop()
}
const Subject = "{NewHomeworkSubject}"

menu "Work Type" {
item "Text Book Work":
	const TBPage = prompt("The Page", "Number", false)
	const TBQuestion = prompt("Question number", "Text", false)
item "Work Book Work":
	const WBPage = prompt("The Page", "Number", false)
	const WBQuestion = prompt("Question Number", "Text", false)
item "Document Work":
	const DMWhere = prompt("Online or Manual?", false)
item "Writing":
	prompt("To write about", "Text", true)
item "Reading":
	prompt("To read about")
item "Interviewing":
	prompt("Interviewing details", "Text", true)
item "Preparing Presentation":
	prompt("Presentation details", "Text", true)
item "-Custom Work-":
	prompt("Custom detail", "Text", true)
}
const CommentAndStrategyBase = prompt("Your own comment and strategy")

if !CommentAndStrategyBase {
} else {
}
const DueDate = prompt("due date", "Date and Time")
const List = list("🟥", "🟧", "🟨", "🟦", "⬜️")
const Priority1 = chooseFromList(List, "The priority", false)
const title = "{Subject} | {Priority1}"
const notes = "-DUE-\n{DueDate}\n\n-To Do-\n{WorkType}{CommentsStrategy}"
rawAction("is.workflow.actions.addnewreminder", {
	"WFAlertCustomTime": "{Ask}",
	"WFAlertEnabled": "Alert",
	"WFAlertLocation": "",
	"WFCalendarDescriptor": "",
	"WFCalendarItemCalendar": "memo data",
	"WFCalendarItemNotes": "{notes}",
	"WFCalendarItemTitle": "{title}",
	"WFFlag": true,
	"WFPriority": "High",
	"WFTags": "Homework N3"
})
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de aster

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité