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,081
Device(s): Droid Maxx 4.4.4, Droid Bionic 4.1.2, Droid X 2.3.4
Carrier: vzw

Thanks: 2,012
Thanked 2,471 Times in 1,635 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