14 de out de 2018
polygonnys
This is actually pretty cool. thx 4 sharing! -----poly
This shortcut sends an Message to someone you can choose with the time you need to reach your destination and your actual location.
I made a little mistake but now it works 🙈
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#include 'actions/location'
#define color blue
#define glyph car
prompt("What is your destination ?")
@Destination = nil
getCurrentLocation()
rawAction("is.workflow.actions.gettraveltime", {
"WFGetDirectionsCustomLocation": "{@Destination}",
"WFGetDirectionsFrom": "Custom Location"
})
sendMessage(Ask, "Hey, i am here right now: {}\nI need {} to reach {@Destination}.", false)
This is actually pretty cool. thx 4 sharing! -----poly
Thank you for posting this awesome Shortcut. -db