This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I want a shortcut that will get my current location when I open the Gridwise app. Turn on Rideshare Focus. Keep rideshare focus on if my current location is not at home. If my current location is home, then I want rideshare to turn off.
Open Gridwise Get current location Set variable Location to Current Location Repeat 1 time If Location has any value Get Driving Time from Current Location to [Address] Set Variable: Result to Travel Time
If Result has any value
Turn Rideshare On Until Turned Off
Otherwise
Turn Rideshare Off
End If
Otherwise Turn Rideshare On Until Turned Off End If Wait 60 seconds End Repeat.
There are only two “Repeat” functions. The only two repeat functions available on iOS shortcuts is: Repeat with Each: Takes a list of items as input, and runs the contained actions once for each item in the list. Items (Anything) A list of items (optional) Result (Anything) Every item passed to the "End Repeat" action
And
Repeat: Repeats the contained actions, running them the specified number of times. Input Anything (optional) Result (Anything) The input
Also the “repeat” function requires me to set a number of times I want it to be repeated. The only variables I can check against is “ has any value” or “does not have any value”. And the only options for the “if” function” are “otherwise” and closes out with “end if”.
Which one do I choose? What I currently have is not working. The rideshare focus gets turned off when I exit the Gridwise app. I want it to keep the rideshare focus on until I get to [Address] or I manually turn it off
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/shortcuts/c...