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
  #11 (permalink)  
Old 10-13-2009, 07:50 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

Thanks a million dude. Tryin it now.

One last quick question: When I execute the script, will mort be running in the background when the phone is off? Or, does it run its script then close itself.

Thanks for all the help bro.
Reply With Quote
  #12 (permalink)  
Old 10-13-2009, 07:57 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

The script will execute then exit. It does not keep running.

This does not put the phone in sleep mode, just turns off the screen. The OS will put the phone in sleep mode after a certain amount of time.

You can try locking first then using the PowerOff command. I have not tested this, but the docs says it puts the device in standby mode.

Run("\pathtofile\Lock.exe")
PowerOff
Reply With Quote
This post has been thanked 1 times.
  #13 (permalink)  
Old 10-13-2009, 08:05 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

Ok, the toggle display is working. But its not doing the second command. For testing, I made a "Scripts" folder on the device, not storage card. I also placed my devicelock.exe file in there for testing purposes. I can click on the devicelock.exe, and it will lock the device. But, when I run the script, the screen goes off, and thats it.

Got anythign else up your sleave? I'm gonna tinker some more.


EDIT: Nevermind. I'm a dummy. I edited my script, but saved it on the pc, not back to the phone. I think its gonna work.

Last edited by KrazyKevin76; 10-13-2009 at 08:07 PM.
Reply With Quote
  #14 (permalink)  
Old 10-13-2009, 08:14 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

Your last post hit on what I was gonna ask next. Everything is working as you said it would. But, its like the screen is off, but the phone isn't in suspend mode, the buttons are still lit up. Will try your poweroff sugestion.
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 01:01 AM.


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