Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wormiedk

macrumors newbie
Original poster
Nov 24, 2010
5
1
In the new shortcuts app workflows can be launched when charging the phone. Can anyone figure out how to make a workflow only run if I start charging after a given time?
 
Thanks! Could i ask how you add the first Block? I have searched but have not been able to find it myself
4B114CC2-C5C1-4C10-AE6F-E435879354AF.jpeg
 
The first action is "adjust date". Tap the first parameter and choose get start of day.

@Ansath You need to setup the automation yourself (you can't share automations) and then either recreate my shortcut inside of it or choose the action "run shortcut" and pick the one I made.
 
Hey,

Thanks for the great shortcut and I should clarify one thing:

Put the desired action just in between comment and otherwise command. And then you can go to automation and set the automation using this shortcut.

I've created screen recording that explains, hope it helps.

P.S.

I'm wondering is it possible to create location based automation? E.g. If location is home > launch Calm app or if location is office > launch spotify.
 

Attachments

  • shortcut_howto.mov
    25.3 MB
Any ideas on how to make the time period be between say, 10pm and 8am? I can't figure out how to use a time period that spans midnight.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.