ShareShortcuts

Notification Reminder

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

dtd4204
Dupliquer « Notification Reminder »

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 dtd4204 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
39K
Enregistré
0
Actions
40
Catégorie
Productivity
Version
1.1
Langue
EN

Aperçu

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

Nouveautés

Version 1.1

Uploaded correct file

Historique des versions
1.1 24 août 2022

Uploaded correct file

1.0 24 août 2022

First release

Ce qu’il fait

40 actions
  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

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.

#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()
}
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 dtd4204

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité