Play button

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Bender64
Posts: 20
Joined: 25 Feb 2016 15:47

Play button

Post by Bender64 » 27 Aug 2017 16:30

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 :)

Image

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Play button

Post by bogdyro » 27 Aug 2017 22:12

+1

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Play button

Post by Desmanto » 28 Aug 2017 13:39

+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.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Play button

Post by bogdyro » 29 Aug 2017 05:43

+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

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Play button

Post by Desmanto » 29 Aug 2017 15:37

Should I +2 again? :D

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 :D

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.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Locked