Page 1 of 1

Volume Variables

Posted: 20 Oct 2013 17:03
by PaulyQ
I am building a lockscreen widget to control and display system settings, including a text control showing the current media volume. In order to update the widget text when vol changes, I have had to include a condition in the Vol flow for each volume level. Would it be possible to add a variable to the audio volume trigger which returns the current volume level so that it's value can be inserted into the widget text instead?

Re: Volume Variables

Posted: 20 Oct 2013 18:41
by MURTUMA
When you are in script editor, there is three buttons for snippets, variables and something else. Press the variables and vo'la! You have there everything you need.

Re: Volume Variables

Posted: 21 Oct 2013 15:07
by Martin
The action Store Audio Volumes stores the volume of each stream to a global variable. The names of the global variables are listed in the help page:
http://automagic4android.com/en/help/co ... eam_volume