ShareShortcuts

Emergency Info Help

Almost useless but can get pretty useful

diana2459096183
Dupliquer « Emergency Info Help »

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 diana2459096183 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é
1
Actions
29
Catégorie
Utilities
Version
1.0
Langue
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

Nouveautés

Version 1.0

First release

Historique des versions
1.0 16 août 2022

First release

Ce qu’il fait

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

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/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()
}
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 diana2459096183

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité