ShareShortcuts

Notification Reminder

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

dtd4204
Fork “Notification Reminder”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så dtd4204 får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
39K
Gemt
0
Handlinger
40
Kategori
Produktivitet
Version
1.1
Sprog
EN

Forhåndsvisning

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

Nyheder

Version 1.1

Uploaded correct file

Versionshistorik
1.1 24. aug. 2022

Uploaded correct file

1.0 24. aug. 2022

First release

Hvad den gør

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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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()
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra dtd4204

Se alle

Du vil måske også kunne lide

Se alle
Annonce