Sleep timer

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
boywondr16
Posts: 1
Joined: 20 Jul 2015 01:13

Sleep timer

Post by boywondr16 » 20 Jul 2015 01:17

I realize I'm probably missing the command, but while I have set timer in a flow, what starts the timer counting?

I'm trying to create a sleep timer, so when I hit the shortcut, the countdown begins.

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Sleep timer

Post by MURTUMA » 20 Jul 2015 08:04

This is maybe the simplest way to achieve that:

FLOW 1:
Trigger: shotcut
Action: input dialog; time or date and time depending on your needs
Action: script; to process the previous action's output and to set global variable

FLOW 2:
Trigger: global variable date/time
Action: anything you want to do after time runs out

I have a flow which contains similar elements you need here. You can use it as reference: This is maybe the simplest way to achieve that:

FLOW 1:
Trigger: shotcut
Action: input dialog; time or date and time depending on your needs
Action: script; to process the previous action's output and to set global variable

FLOW 2:
Trigger: global variable date/time
Action: anything you want to do after time runs out

I have a flow which contains similar elements you need here. You can use it as reference: This is maybe the simplest way to achieve that:

FLOW 1:
Trigger: shotcut
Action: input dialog; time or date and time depending on your needs
Action: script; to process the previous action's output and to set global variable

FLOW 2:
Trigger: global variable date/time
Action: anything you want to do after time runs out

I have a flow which contains similar elements you need here. You can use it as reference: http://automagic4android.com/flow.php?i ... 31a7c83572

Post Reply