Page 1 of 1
Play button
Posted: 27 Aug 2017 16:30
by Bender64
Hi sometimes when i play with automagic and try new tricks, I miss the play button, something like this. I know it's in the 3 dot menu, but when I'm testing something, a separate button is more practical
Re: Play button
Posted: 27 Aug 2017 22:12
by bogdyro
+1
Re: Play button
Posted: 28 Aug 2017 13:39
by Desmanto
+2
I almost thought that button is real
I probably execute flow manually tens to a hundred of times everyday. This will save those tens to a hundred of taps.
Another option is at each element, if possible, put the
select variable as separated icon. As maybe this is the one used the most.
Re: Play button
Posted: 29 Aug 2017 05:43
by bogdyro
+1
you can simulate that button with a widget and use action control Ui to start the flow,either by pushing the menu button or by using the execute flows action and getting the name of the current flow for gettextinactivewindow. However the second method doesn't work on disabled flows.
Anyway, not a very elegant solution. If Martin could add a script function or action to test run the current flow would be nice. Or directly the button
You can checkout my current flow for doing this.
http://automagic4android.com/flow.php?i ... df0830093b
http://automagic4android.com/flow.php?i ... c16f39eb54
Re: Play button
Posted: 29 Aug 2017 15:37
by Desmanto
Should I +2 again?
I tried you flow, quite interesting. That widget you have there, I am curious where you get that icon. Turns out to be right caret symbol > with some rounded corner background
Yeah, it should be a dedicated button. My test flow usually contains trigger that may not be turn on, but must executed manually during the test.
PS : you can actually share both flow and widget in single xml. When you publish flow/widget, you can select the flow, and select the widget as well.
That single xml will contain both.