Upon arriving home, Automatically cause the phone to announce itself after 3minutes in case it is forgotten in a jacket pocket or snow suit.
Novedades
Versión 1.0
First release
Qué hace
15 acciones-
CommentNote: This Automation Shortcut is run whenever my phone connects to a bluetooth hotspot in my house. Alternatively, it can be automated to run everytime your iPhone connects to your home WiFi. But, be aware it might trigger/run multiple times when y…
-
CommentDuring the winter, my phone is located in my snowsuit or jacket pocket rather than my oants pocket. Due to the possibity of misplacing my phone, I set a three minute timer! So my phone will announce itself !
-
CommentThis Shortcut initially deletes any pending alarm named HomeModeFindPhone then creates a new alarm labeled HomeModeFindPhone
-
Number
-
Repeat
-
CommentDelete HomeModeFindPhone alarm twice, but create only if RepeatIndex=1
-
Get Alarmscom.apple.mobiletimer-framework.MobileTimerIntents
-
If
-
Delete Alarmcom.apple.mobiletimer
-
If
-
Adjust Date
-
M T Create Alarmcom.apple.mobiletimer-framework.MobileTimerIntents
-
Show Alert
-
CommentShortcut execution reaches this comment only if a person presses Continue button, from above Action.
-
Stop This Shortcut
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/calendar'
#define color green
/*
Note: This Automation Shortcut is run whenever my phone connects to a bluetooth hotspot in my house.
Alternatively, it can be automated to run everytime your iPhone connects to your home WiFi. But, be aware it might trigger/run multiple times when you don’t expect it.
This Shortcut can be refined to run only if a lockfile does not exist. Then a separate script must delete the lockfile whenever home WiFi goes out of range: complexities!
Nevertheless, I am able to find my phone whenever I forget to remove it from my snowsuit pocket! 🙂
*/
// During the winter, my phone is located in my snowsuit or jacket pocket rather than my oants pocket. Due to the possibity of misplacing my phone, I set a three minute timer! So my phone will announce itself !
// This Shortcut initially deletes any pending alarm named HomeModeFindPhone then creates a new alarm labeled HomeModeFindPhone
const minsDelay = 3
repeat _ for 2 {
// Delete HomeModeFindPhone alarm twice, but create only if RepeatIndex=1
const Alarms = getAlarms()
if Alarms['label'] {
rawAction("com.apple.mobiletimer.DeleteAlarmIntent", {
"AppIntentDescriptor": "",
"entities": "Alarms"
})
}
if @RepeatIndex == 1 {
adjustDate(CurrentDate, "")
createAlarm("HomeModeFindPhone")
confirm("Have you found this phone?")
// Shortcut execution reaches this comment only if a person presses Continue button, from above Action.
}
}
stop()
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de weplaydr
También te puede gustar
Publicidad