ShareShortcuts

Emergency Info Help

Almost useless but can get pretty useful

diana2459096183
Создать форк «Emergency Info Help»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы diana2459096183 получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
39K
Сохранено
1
Действия
29
Категория
Utilities
Версия
1.0
Язык
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

Что нового

Версия 1.0

First release

История версий
1.0 16 авг 2022 г.

First release

Что делает

Действий: 29
  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

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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()
}
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от diana2459096183

См. все

Вам также может понравиться

См. все
Реклама