View Single Post
Old September 14th, 2012, 04:57 AM   #22 (permalink)
SUroot
ROM Developer
Thread Author (OP)
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,324 Times in 3,995 Posts
Default

Think I have a solution. Seems to be working for me so far.... Variable updates at every screen on.

3x profiles.

1) GetLight
Event Display On
Task %LightValue To %LIGHT

2) Display On
Event Variable Set %LightValue
Task Display Brightness whatever if Greater than whatever
Task tasker Profile Status GetLight Off

3) Display Off
Event Display Off
Task Tasker Profile Status GetLight On*

* GetLight will continue to Poll %LIGHT if the display is on and The GetLight Profile is On so we turn off the Profile. We turn it on When the Display is off as it Does not Poll %LIGHT until the display is turned back on...

Will upload test Profiles in a bit...
Attached Files
File Type: zip profiles.zip (1.5 KB, 45 views)
SUroot is offline  
Last edited by SUroot; September 14th, 2012 at 05:07 AM.
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
mrhomiec (September 14th, 2012)