ShareShortcuts

Wake Me Up In Time

shahd-s
Bifurcar “Wake Me Up In Time”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que shahd-s reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
68K
Guardado
1
Acciones
22
Categoría
Routines
Versión
1.0
Idioma
EN

This shortcut asks you where you need to be, when, and how long you take to get ready, then sets two alarms. One to wake you up to start getting ready, and another to tell you to leave your house so you can get to your destination on time.

Novedades

Versión 1.0

First release

Historial de versiones
1.0 25 de jun. de 2019

First release

Qué hace

22 acciones
  1. Ask for Input
    How long do you need to get ready in minutes?
  2. Set Variable
    Gettingreadytime
  3. Ask for Input
    Where do you need to be?
  4. Set Variable
    Desination
  5. Gettraveltime
  6. Format Date
  7. Set Variable
    Dist
  8. Get Time Between Dates
  9. Set Variable
    Traveltine
  10. Ask for Input
    When do you need to be there?
  11. Format Date
  12. Set Variable
    Class
  13. Adjust Date
  14. Format Date
  15. Set Variable
    leavingTimeDrive
  16. Adjust Date
  17. Format Date
  18. Set Variable
    Getreadytime
  19. Nothing
  20. Show Alert
  21. Create Alarm
  22. Create Alarm

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#define color pink
#define glyph alarmClock

prompt("How long do you need to get ready in minutes?", "Number")
@Gettingreadytime = nil
prompt("Where do you need to be?")
@Desination = nil
rawAction("is.workflow.actions.gettraveltime", {
	"WFGetDirectionsCustomLocation": "",
	"WFGetDirectionsFrom": "Current Location"
})
formatDate("", "None")
@Dist = nil
rawAction("is.workflow.actions.gettimebetweendates", {
	"WFTimeUntilUnit": "Minutes"
})
@Traveltine = nil
prompt("When do you need to be there?", "Date")
formatDate("", "None")
@Class = nil
adjustDate("", "")
formatDate("", "None")
@leavingTimeDrive = nil
adjustDate("", "")
formatDate("", "None")
@Getreadytime = nil
nothing()
confirm("If you wanna be in {@Desination} at {@Class}, you need to start getting ready at {@Getreadytime} and you need to leave at {@leavingTimeDrive}. I'm setting an alarm for {@Getreadytime}. \n\nThe drive is gonna take {@Traveltine} minutes. ")
rawAction("is.workflow.actions.alarm.create", {
	"WFLabel": "Get ready",
	"WFTime": "{@Getreadytime}"
})
rawAction("is.workflow.actions.alarm.create", {
	"WFLabel": "Leave house",
	"WFTime": "{@leavingTimeDrive}"
})
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 shahd-s

Ver todo

También te puede gustar

Ver todo
Publicidad