Oct 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 🙈
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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