14 окт 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 🙈
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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