I would like to know if there is a way to the following:
1. Open youtube
2. Retreive and store current volume and display setting values
3. set volume to X and display to Y
4. Close youtube
5. Set volume and display back to values from step # 2
How to store display/volume setting
Moderator: Martin
Re: How to store display/volume setting
Got the following info from Martin for my post here already:)Flows could look like this:
-trigger 'App Task Started: com.google.android.youtube'
-action 'Store Audio Volumes'
-action 'Init Variable System Setting: screen_brightness to global_last_screen_brightness'
-actions to change the volume and brightness
-trigger 'App Task Ended: com.google.android.youtube'
-action 'Restore Audio Volumes'
-action 'Set Screen Brightness: {global_last_screen_brightness}'
-trigger 'App Task Started: com.google.android.youtube'
-action 'Store Audio Volumes'
-action 'Init Variable System Setting: screen_brightness to global_last_screen_brightness'
-actions to change the volume and brightness
-trigger 'App Task Ended: com.google.android.youtube'
-action 'Restore Audio Volumes'
-action 'Set Screen Brightness: {global_last_screen_brightness}'