PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-13-2009, 02:57 AM
KrazyKevin76's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Location: Liberty, TX (Houston)
 
Join Date: Apr 2009
Posts: 256
Reputation: 155
KrazyKevin76 is keeping up the good workKrazyKevin76 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to KrazyKevin76
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

Last edited by KrazyKevin76; 10-13-2009 at 03:30 AM.
Reply With Quote
  #2 (permalink)  
Old 10-13-2009, 03:07 AM
Austin808's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro2
Carrier: Verizon
 
Join Date: Sep 2009
Posts: 63
Reputation: 90
Austin808 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Reply With Quote
  #3 (permalink)  
Old 10-13-2009, 03:09 AM
bluruld's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP1 > TP2 > Fascinate
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 223
Reputation: 435
bluruld is becoming a PPCGeeks regularbluruld is becoming a PPCGeeks regularbluruld is becoming a PPCGeeks regularbluruld is becoming a PPCGeeks regularbluruld is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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
__________________
Reply With Quote
  #4 (permalink)  
Old 10-13-2009, 03:30 AM
KrazyKevin76's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: Liberty, TX (Houston)
 
Join Date: Apr 2009
Posts: 256
Reputation: 155
KrazyKevin76 is keeping up the good workKrazyKevin76 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to KrazyKevin76
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
Reply With Quote
  #5 (permalink)  
Old 10-13-2009, 04:37 PM
KrazyKevin76's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: Liberty, TX (Houston)
 
Join Date: Apr 2009
Posts: 256
Reputation: 155
KrazyKevin76 is keeping up the good workKrazyKevin76 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to KrazyKevin76
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.
Reply With Quote
  #6 (permalink)  
Old 10-13-2009, 04:45 PM
freeza's Avatar
Super Saiyan 3
Offline
Pocket PC: HTC EVO 3D
Carrier: Sprint
Location: California
 
Join Date: Aug 2007
Posts: 2,129
Reputation: 2491
freeza is a VIPfreeza is a VIPfreeza is a VIPfreeza is a VIPfreeza is a VIPfreeza is a VIPfreeza is a VIPfreeza is a VIPfreeza is a VIPfreeza is a VIPfreeza is a VIP
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to freeza Send a message via MSN to freeza Send a message via Yahoo to freeza Send a message via Skype™ to freeza
Re: Rhodium Keyboard Controller guru needed

Quote:
Originally Posted by KrazyKevin76 View Post
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.

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?
Reply With Quote
  #7 (permalink)  
Old 10-13-2009, 05:51 PM
KrazyKevin76's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: Liberty, TX (Houston)
 
Join Date: Apr 2009
Posts: 256
Reputation: 155
KrazyKevin76 is keeping up the good workKrazyKevin76 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to KrazyKevin76
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?
Reply With Quote
  #8 (permalink)  
Old 10-13-2009, 06:14 PM
Austin808's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro2
Carrier: Verizon
 
Join Date: Sep 2009
Posts: 63
Reputation: 90
Austin808 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Reply With Quote
This post has been thanked 1 times.
  #9 (permalink)  
Old 10-13-2009, 07:02 PM
KrazyKevin76's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: Liberty, TX (Houston)
 
Join Date: Apr 2009
Posts: 256
Reputation: 155
KrazyKevin76 is keeping up the good workKrazyKevin76 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to KrazyKevin76
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?
Reply With Quote
  #10 (permalink)  
Old 10-13-2009, 07:19 PM
Austin808's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro2
Carrier: Verizon
 
Join Date: Sep 2009
Posts: 63
Reputation: 90
Austin808 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 06:06 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com