ShareShortcuts

Emergency Info Help

Almost useless but can get pretty useful

diana2459096183
Fork “Emergency Info Help”

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å diana2459096183 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
1
Handlinger
29
Kategori
Værktøjer
Version
1.0
Sprog
EN

Almost useless but can get pretty useful. Needs pre-setup before use. Let me know how useful you think this one is cause to me it is useful. Warning not for everyone. Not a toy. Keep shortcut away from children

Nyheder

Version 1.0

First release

Versionshistorik
1.0 16. aug. 2022

First release

Hvad den gør

29 handlinger
  1. Comment
    “READ THE FOLLOWING” By using this “Shortcut” called “Emergency Info” I, the user fully understands the responsibilities of my actions to the fullest. And is ready to accept any price that comes with using this phone’s Emergency services. I the user…
  2. Show Notification
    ⚠️“READ THE FOLLOWING”⚠️ By using this “Shortcut” called “Emergency Info” I, the user fully understands the responsibilities of my actions to the fullest. And is ready to accept any price that comes with using this phone’s Emergency services. I the …
  3. Show Alert
  4. Comment
    Step 1 : Make as many emergency contacts as you want but i only have 2 so its up to you and the info part is up to you.
  5. Choose from Menu
    Emergency (call or text)
  6. Choose from Menu
    [1] mom (call)
  7. Show Alert
  8. Call
  9. Choose from Menu
    [2] mom (text)
  10. Show Alert
  11. Send Message
  12. Choose from Menu
    [3] dad (call)
  13. Show Alert
  14. Call
  15. Choose from Menu
    [4] dad (text)
  16. Show Alert
  17. Send Message
  18. Choose from Menu
    [911] (call)
  19. Ask for Input
    If your intention was not to call "911" which is strictly illegal to call "911" to waste the emergencies' departments' time. Please type in "Cancel" if it was a mistake, before dialing "911" or type “Accept” to continue the shortcut
  20. If
  21. Show Alert
  22. Show Notification
    🚨Dialing 9-1-1 🚨
  23. Wait
  24. Call
  25. If
  26. Stop This Shortcut
  27. Choose from Menu
    just info (optional)
  28. Comment
    Make a note for your on the fly emergency info [option can be removed] but is recommended
  29. Open Note

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/sharing'
#include 'actions/contacts'
#define color red
#define glyph ambulance

/*
“READ THE FOLLOWING”


By using this “Shortcut” called “Emergency Info” 

I, the user fully understands the responsibilities of my actions to the fullest. And is ready to accept any price that comes with using this phone’s Emergency services.

I the user know of the consequences that may arise from using this “Shortcut”. 

The owner of this device may or may not be responsible for the mischief and disruption of Emergency services/Emergency contacts mentioned in this “Shortcut” if the “Shortcut” is/was used unintentionally and/or intentionally.
*/
showNotification("⚠️“READ THE FOLLOWING”⚠️\n\n\nBy using this “Shortcut” called “Emergency Info” \n\nI, the user fully understands the responsibilities of my actions to the fullest. And is ready to accept any price that comes with using this phone’s Emergency services.\n\nI the user know of the consequences that may arise from using this “Shortcut”. \n\nThe owner of this device may or may not be responsible for the mischief and disruption of Emergency services/Emergency contacts mentioned in this “Shortcut” if the “Shortcut” is/was used unintentionally and/or intentionally.")
alert("“READ THE FOLLOWING”\nBy using this “Shortcut” called “Emergency Info” \n• I, the user fully understands the responsibilities of my actions to the fullest. And is ready to accept any price that comes with using this phone’s Emergency services.\n• The owner of this device may or may not be responsible for the mischief and disruption of Emergency services/Emergency contacts mentioned in this “Shortcut” if the “Shortcut” is/was used unintentionally and/or intentionally.\n• By clicking \"Continue\" I the user operating this device accept all consequences and laws that are and/or aren't mentioned above.", "")
/*
Step 1 : 
Make as many emergency contacts as you want but i only have 2 so its up to you and the info part is up to you.
*/

menu "Emergency (call or text)" {
item "[1] mom (call)":
	alert("Do you want to call mom?", "")
	call(Ask)
item "[2] mom (text)":
	alert("Do you want to text mom?", "")
	sendMessage(Ask, Ask)
item "[3] dad (call)":
	alert("Do you want to call dad?", "")
	call()
item "[4] dad (text)":
	alert("Do you want to text dad?", "")
	sendMessage(, Ask)
item "[911] (call)":
	const ProvidedInput = prompt("If your intention was not to call \"911\" which is strictly illegal to call \"911\" to waste the emergencies' departments' time. Please type in \"Cancel\" if it was a mistake, before dialing \"911\" or type “Accept” to continue the shortcut")
	if ProvidedInput == "Accept" {
		confirm("⚠️Do you want to dial 9-1-1")
		showNotification("🚨Dialing  9-1-1 🚨", true)
		wait(2)
		call()
	} else {
		stop()
	}
item "just info (optional)":
	/*
	Make a note for your on the fly emergency info
	[option can be removed] but is recommended
	*/
	openNote()
}
Å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 diana2459096183

Se alle

Du vil måske også kunne lide

Se alle
Annonce