![]() |
Rhodium Keyboard Controller guru needed
I stated this in someone elses thread, but didn't want to hijack.
I'm wanting to be able to long press the end key on my sprint tp2 and lock the phone and then turn the screen off. I want to use the stock lock program. I've downloaded a cab from xda that allows the use of the stock lock program to be used in keyboard config. With the cab, using kb config, I can either map the long press end key to run a program, which is lock.exe, or u can direct map it to the F18 entry. I've gotten the long press end key to lock the phone, but I can't get the screen to go off also. Is it even possible to assign 2 functions to one key command? How would one go about doing what I'm trying to describe? Thanks kevin |
Re: Rhodium Keyboard Config guru needed
You might need to write a mortscript or something similar to be able to perform both actions. I have not tried using a mortscript with Keyboard config, but I think it should be doable.
|
Re: Rhodium Keyboard Config guru needed
This program will let you do what your asking plus some. The features are very intense.
rhodium keyboard controller (remapper) http://forum.xda-developers.com/showthread.php?t=554240 |
Re: Rhodium Keyboard Config guru needed
I'm sorry, that is the program I have. I'll change the name of my post. I'm sure you can do it with this program, I just haven't figured it out yet. thanks
|
Re: Rhodium Keyboard Controller guru needed
Can't seem to get it to do two actions at once. Like on a long press of end key, set the lock.exe program and then turn the screen off.
|
Re: Rhodium Keyboard Controller guru needed
Quote:
You should look into what arguments lock.exe can accept, maybe one of those arguments are to turn the display off. OR you could try to just add another RULE making that rule turn the display off? |
Re: Rhodium Keyboard Controller guru needed
As it is now, if I set the first rule up to run the lock program, then nothing else will run because the phone is locked! Makes sense. The other way, making the phone suspend or turn screen off kinda is the same thing. Once the screen is off, nothing wants to work either.
Wonder where I could find what arguments the lock program will take/do? |
Re: Rhodium Keyboard Controller guru needed
I still suggest writing a mortscript.
ToggleDisplay( FALSE ) Run("\pathtofile\Lock.exe") Since I do not have the lock file you mention I was not able to test this, but this simple mortscript will turn off the display and lock the screen using the file you mentioned. |
Re: Rhodium Keyboard Controller guru needed
Is this mortscript stuff easy? Never messed with it. Sounds like it could be the way to go.
Will I be able to map this script to any key? Exactly what is this? |
Re: Rhodium Keyboard Controller guru needed
Download mortscript here.
http://www.sto-helit.de/index.php?mo...ew&action=view Save the following to a text file with the mscr extension. ToggleDisplay( FALSE ) Run("\pathtofile\Lock.exe") Change the path to the lock.exe file. In Keyboard config map a key to run a program. Set the Action to Run a Program Select \Program Files\Mortscript\Mortscript.exe as the program and for the argument put the path to the mscr file in double quotes "\storage card\program files\folder\script.mscr" I tested this and I am able to launch a mortscript using keyboard config. Since I do not have the lock file you used I am unable to test this out completely. |
All times are GMT -4. The time now is 01:04 PM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com