ShareShortcuts

Homework Notifications +

Add your homeworks in, it will save plus notificates you

aster
Fazer fork de “Homework Notifications +”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que aster receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
22K
Salvo
1
Ações
126
Categoria
Productivity
Versão
1.0
Idioma
EN

Pré-visualização

Add your homeworks in, it will save plus notificates you

Novidades

Versão 1.0

First release

Histórico de versões
1.0 4 de jul de 2024

First release

O que ele faz

126 ações
  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

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#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"
})
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de aster

Ver tudo

Você também pode gostar

Ver tudo
Publicidade