Scan with your iPhone to install
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
What's New
Version 1.0
First release
What it does
29 actions-
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…
-
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 …
-
Show Alert
-
CommentStep 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.
-
Choose from MenuEmergency (call or text)
-
Choose from Menu[1] mom (call)
-
Show Alert
-
Call
-
Choose from Menu[2] mom (text)
-
Show Alert
-
Send Message
-
Choose from Menu[3] dad (call)
-
Show Alert
-
Call
-
Choose from Menu[4] dad (text)
-
Show Alert
-
Send Message
-
Choose from Menu[911] (call)
-
Ask for InputIf 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
-
Show Alert
-
Show Notification🚨Dialing 9-1-1 🚨
-
Wait
-
Call
-
If
-
Stop This Shortcut
-
Choose from Menujust info (optional)
-
CommentMake a note for your on the fly emergency info [option can be removed] but is recommended
-
Open Note
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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()
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by diana2459096183
You Might Also Like
Advertisement