Hi,
I was wondering if it is possible to set the screen brightness value from a variable please.
Regards Mark
Screen Brightness and Variables
Moderator: Martin
Re: Screen Brightness and Variables
Hi,
Sorry no, the action to set the screen brightness does not support variables.
Regards,
Martin
Sorry no, the action to set the screen brightness does not support variables.
Regards,
Martin
Re: Screen Brightness and Variables
Thanks for replying Martin, could I put this in as a feature request please.
I'm liking the interaction between Automagic and Zooper and it would be a useful addition.
Regards Mark.
I'm liking the interaction between Automagic and Zooper and it would be a useful addition.
Regards Mark.
Re: Screen Brightness and Variables
Hi,
I have to correct myself, it's not very comfortable but you could use action Set System Setting to set screen_brightness to a value between 1 and 255 or with a variable replacement like {brightness}. Newer Android versions should automatically apply the new brightness when the setting is modified.
You can also read the current value stored in the system settings database with action Init Variable System Setting and store it in a variable.
Regards,
Martin
I have to correct myself, it's not very comfortable but you could use action Set System Setting to set screen_brightness to a value between 1 and 255 or with a variable replacement like {brightness}. Newer Android versions should automatically apply the new brightness when the setting is modified.
You can also read the current value stored in the system settings database with action Init Variable System Setting and store it in a variable.
Regards,
Martin
Re: Screen Brightness and Variables
Thanks again Martin,
I'll give it a go.
Regards Mark.
I'll give it a go.
Regards Mark.
Re: Screen Brightness and Variables
Hi Martin,
One final thanks, I have tried this method and it works just as I wanted.
Regards Mark.
One final thanks, I have tried this method and it works just as I wanted.
Regards Mark.