Page 1 of 1

Screen Brightness and Variables

Posted: 18 Feb 2014 20:30
by ma11en
Hi,

I was wondering if it is possible to set the screen brightness value from a variable please.

Regards Mark

Re: Screen Brightness and Variables

Posted: 19 Feb 2014 17:55
by Martin
Hi,

Sorry no, the action to set the screen brightness does not support variables.

Regards,
Martin

Re: Screen Brightness and Variables

Posted: 19 Feb 2014 22:05
by ma11en
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.

Re: Screen Brightness and Variables

Posted: 20 Feb 2014 17:01
by Martin
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

Re: Screen Brightness and Variables

Posted: 22 Feb 2014 10:00
by ma11en
Thanks again Martin,

I'll give it a go.

Regards Mark.

Re: Screen Brightness and Variables

Posted: 23 Feb 2014 11:54
by ma11en
Hi Martin,

One final thanks, I have tried this method and it works just as I wanted.

Regards Mark.