Shortcuts -> if charging AFTER 21 pm launch app?

wormiedk

macrumors newbie
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?
 

wormiedk

macrumors newbie
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
 

ZEEN0j

macrumors 68000
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.
 

Sergei Shcherbakov

macrumors newbie
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 · Views: 85

hepcat72

macrumors newbie
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.
Top