View Single Post
Old January 4th, 2014, 03:47 PM   #70 (permalink)
Premium Guide Member
Thom's Avatar
Join Date: Feb 2011
Location: Keene - NH - USA
Posts: 7,042
Device(s): Maxx - Bionic - X
Carrier: vzw

Thanks: 2,006
Thanked 2,456 Times in 1,623 Posts

Pretty straight forward ...

Profile: tlaPocket
State: Proximity Sensor
Enter: Anon
A1: Variable Set [ Name:%DTOUT_Pocket To:%DTOUT Do Maths:Off Append:Off ]
A2: Display Timeout [ Secs:7 Mins:0 Hours:0 ]
Exit: Anon
A1: Display Timeout [ Secs:%DTOUT_Pocket Mins:0 Hours:0 ]

If the sensor is covered it saves timeout value in DTOUT_Pocket and sets the timeout to 7 seconds (the smallest amount acceptable).

If the sensor is uncovered it restores the saved timeout value from DTOUT_Pocket.

... Thom

Thom is online now  
Reply With Quote