Volume Variables
Moderator: Martin
Volume Variables
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
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
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
http://automagic4android.com/en/help/co ... eam_volume