View Single Post
  #8 (permalink)  
Old 10-07-2007, 11:24 PM
stroths's Avatar
stroths
VIP & Master of my Domain
Offline
Location: Dallas area
 
Join Date: Oct 2006
Posts: 1,370
Reputation: 2008
stroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by psywzrd View Post
stroths:

Can you please tell me how you mapped a button to lock AND power down on a single press? I see how you can map a button to do one or the other on a single press but it sounds like you got it to do both somehow. I'd like to map the VoiceDial button to do it.
I use an app called device lock (below). I made the following shortcut to it:

"\Program FIles\Lock\DeviceLock.exe" -o:1

This makes it lock the device and suspend. You must push the actual power button to wake it back up.

http://forum.xda-developers.com/showthread.php?t=305402


Note: Other parameters

-o:* Overrides the lock options and takes a number 0-2.
0 = Lock Only
1 = Lock then Suspend
2 = Lock then Blank Screen

-r:* Overrides the application to run after locking. This must have Quotes around it. Specifying -r:"" will prevent the default application from running.
__________________
Treo 600 -> Treo 650 ->Treo 700p -> Treo 700wx -> Mogul -> Touch Pro -> Touch Pro 2 -> HTC Evo
- [Guide] Get Root access & NAND Unlock your Evo (Full Root)
- My Current AppBrain List


Last edited by stroths; 10-07-2007 at 11:27 PM.
Reply With Quote