Page 1 of 1
Timer
Posted: 16 Jul 2019 06:02
by Akt
In this countdown flow, is there any possibility of making an option of custom in input dialogue.
Eg:-
6 min
12 min
18 min
30 min
Custom
On click of custom button it should ask for time for countdown.
http://automagic4android.com/flow.php?i ... de3fecd28a
Re: Timer
Posted: 16 Jul 2019 06:18
by Desmanto
Yes, just add new element to the choice list as "Custom". Then use expression to check after the operation == "ok",
True, then go to input dialog to enter the time or maybe string input that can be evaluated to time. Use another expression to check if that input is valid time or duration.
As for the count down, since you are going to do long operation until countdown end, it is better to use widget and show widget instead. You can use script to modify the widget text to show current countdown time. Hide the widget after finish. Remember to increase the AES number, since you are going to do high element execution per minute.
Re: Timer
Posted: 16 Jul 2019 06:43
by Rafi4
hi Akt
I think this flow will consume more battery. use global variable date and time instead.
from record4
Re: Timer
Posted: 16 Jul 2019 08:35
by Akt
Hello Desmanto and Rafi4
Thanks for your reply.
Please can you make corrections in the flow and post it as i am very weak in writing script.
Re: Timer
Posted: 16 Jul 2019 12:09
by Rafi4
hi Akt
In create timer flow create Shortcut . click on shortcut select which you want.
In timer schedule flow add actions which you want. these flows don't need widgets. hope these flows will fulfill your needs.
from record4
Re: Timer
Posted: 16 Jul 2019 12:36
by Akt
Thanks Rafi4
It's working and you solved my problem.