Thursday, November 10, 2005

Auto KeyPad Lock w/ xbar xmc

What it will do:
It will automatically lock your keypad every 30secs.

How to do it:
Make an xmc file using your notepad with the following lines:

xmacro=s500,k91,s500,k115,k91,k198,s30000,
\Storage\windows\Start Menu\lock2.xmc
xmacro=s100,


name it lock.xmc, then make a 2nd xmc file with the following lines:

xmacro=s500,k91,s500,k115,k91,k198,s30000,
\Storage\windows\Start Menu\lock.xmc
xmacro=s100,


name it lock2.xmc. copy the 2 xmc files into your start menu folder. To launch, just click the lock.xmc file and that's it.

Customizaton:
To change the keypad lock timeout, just change the s30000 to another value. (note: 1sec = 1000)

2 comments:

Wayne said...

What is keyscan code 198?

Jarrett said...

What would the command be if I wanted to link to the built-in lock command. I'm trying to link to it for a skin I wrote, but I can't find the file that locks/unlocks the phone.