ShareShortcuts

Notification Reminder

I don't know why, but my phone uploads some random files - DON‘T DOWNLOAD!

dtd4204
Fazer fork de “Notification Reminder”

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 dtd4204 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
39K
Salvo
0
Ações
40
Categoria
Productivity
Versão
1.1
Idioma
EN

Pré-visualização

I don't know why, but my phone uploads some random files - DON‘T DOWNLOAD!

Novidades

Versão 1.1

Uploaded correct file

Histórico de versões
1.1 24 de ago de 2022

Uploaded correct file

1.0 24 de ago de 2022

First release

O que ele faz

40 ações
  1. URL
    https://i.imgur.com/Mt2dnoM.png
  2. Get Images from Input
  3. Set Variable
    swgoh icon
  4. List
  5. Text
  6. Choose from List
  7. If
  8. Stop and Output
  9. If
  10. Open App
  11. Stop This Shortcut
  12. If
  13. If
  14. If
  15. Date
  16. If
  17. Date
  18. Text
  19. Ask for Input
    …
  20. Set Variable
    Choosen time
  21. Text
  22. Set Variable
    Time date txt
  23. Adjust Date
  24. Set Variable
    Notification
  25. Adjust Date
  26. Set Variable
    End time
  27. Create Event
    com.alexhay.ToolboxProForShortcuts
  28. Show Notification
    com.alexhay.ToolboxProForShortcuts
  29. Show Alert
    Rᴇᴍɪɴᴅᴇʀ sᴇᴛ ⏱
  30. If
  31. Ask for Input
    …
  32. Set Variable
    Start time
  33. Ask for Input
    …
  34. Set Variable
    End time
  35. Text
  36. Ask for Input
    …
  37. Add New Event
  38. Show Notification
    com.alexhay.ToolboxProForShortcuts
  39. Show Alert
    … | Rᴇᴍɪɴᴅᴇʀ sᴇᴛ
  40. Run Shortcut
    Notification 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.

#include 'actions/images'
#define color darkblue
#define glyph list

const URL = url("https://i.imgur.com/Mt2dnoM.png")
getImages(URL)
@SwgohIcon
const Liste = list("SWGoH GAC", "SWGoH Raid", "Reminder", "🎮 Resume Game", "🚫 Exit")
const AusgewhltesObjekt = chooseFromList(Liste)

if AusgewhltesObjekt contains "Exit" {
	mustOutput("", "")
}

if AusgewhltesObjekt contains "Back to" {
	openApp("com.ea.starwarscapital.bv")
	stop()
} else {
}

if AusgewhltesObjekt contains "SWGoH" {
	if AusgewhltesObjekt contains "GAC" {
		currentDate()
	} else {
		currentDate()
	}
	prompt(, "Date and Time")
	@ChoosenTime
	@TimeDateTxt = "{}"
	adjustDate(, "Subtract")
	@Notification
	adjustDate(, "Add")
	@EndTime
	rawAction("com.alexhay.ToolboxProForShortcuts.CreateEventIntent", {
		"alertTime": "FiveMinsBefore",
		"calendar": "SWGoH Guild",
		"endTime": "{@EndTime}",
		"notes": "",
		"startTime": "{@ChoosenTime}",
		"title": "{AusgewhltesObjekt}"
	})
	rawAction("com.alexhay.ToolboxProForShortcuts.ShowNotificationIntent", {
		"actionSet": "open",
		"atTime": "{@Notification}",
		"attachment": "@SwgohIcon",
		"badgeNumber": "1",
		"ok": "shortcuts://run-shortcut?name=Start%20SWGoH",
		"onTap": "shortcuts://run-shortcut?name=Start%20SWGoH",
		"open": "shortcuts://run-shortcut?name=Start%20SWGoH",
		"setBadge": true,
		"showNotification": "AtTime",
		"soundFile": "chirp",
		"soundType": "custom",
		"subtitle": "Tap to open SWGoH",
		"title": "{AusgewhltesObjekt} at {@ChoosenTime}"
	})
	alert("{@TimeDateTxt} | {AusgewhltesObjekt}", " Rᴇᴍɪɴᴅᴇʀ sᴇᴛ ⏱")
} else {
	prompt(, "Date and Time")
	@StartTime
	prompt(, "Date and Time")
	@EndTime
	prompt(, "Text")
	rawAction("is.workflow.actions.addnewevent", {
		"ShowWhenRun": false,
		"WFAlertTime": "Ask",
		"WFCalendarItemCalendar": "SWGoH Guild",
		"WFCalendarItemEndDate": "{}",
		"WFCalendarItemStartDate": "{}",
		"WFCalendarItemTitle": "{}"
	})
	rawAction("com.alexhay.ToolboxProForShortcuts.ShowNotificationIntent", {
		"actionSet": "open",
		"atTime": "{@Notification}",
		"attachment": "@SwgohIcon",
		"badgeNumber": "1",
		"body": "{}",
		"ok": "shortcuts://run-shortcut?name=Start%20SWGoH",
		"onTap": "shortcuts://run-shortcut?name=Start%20SWGoH",
		"open": "shortcuts://run-shortcut?name=Start%20SWGoH",
		"repeatTrigger": false,
		"setBadge": true,
		"showNotification": "AtTime",
		"subtitle": "Tap to open SWGoH",
		"title": "{AusgewhltesObjekt} at {@StartTime}"
	})
	alert("{@StartTime}\n", " {} | Rᴇᴍɪɴᴅᴇʀ sᴇᴛ ")
	runSelf()
}
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 dtd4204

Ver tudo

Você também pode gostar

Ver tudo
Publicidade