Always keyboard lite on wen on power supply, how? - JASJAR, XDA Exec, MDA Pro General

I am looking for a way to always let the keyboard give lite wen screen is open en power supply plugged in.
I want this, because wen i am driving and it is dark i want to see my keyboard so I can see it better.
If someone knows a solution or a program that will do the trick, would be cool.

Regedit
There's no way to set up a rule regarding whether it's plugged in or not, but you can tell it to leave it on regardless of whether it's plugged in or not. (just use the on-screen keyboard when you're on battery at night ;¬D)
You'll need a registry editor (I use the Resco one).
go to this location in the Uni's registry:
HKEY_CURRENT_USER\ControlPanel\Backlight\QKeyLedTimeout
the value of this key is the time in seconds it takes for the screen to "time out" after detecting a key press whilst it's dark. 6 hours (should be enough for a night) is 21600.

regarding backlight
Hello r3bel.
I tried to do this with mobile registry editor, but when i am changing the value and press ok its says that no access is allowed. (in swedish).
What am i doing wrong. Is it possible to install reg editor to the pda instead of the computer?.
Best regards
knetan

r3bel said:
There's no way to set up a rule regarding whether it's plugged in or not, but you can tell it to leave it on regardless of whether it's plugged in or not. (just use the on-screen keyboard when you're on battery at night ;¬D)
You'll need a registry editor (I use the Resco one).
go to this location in the Uni's registry:
HKEY_CURRENT_USER\ControlPanel\Backlight\QKeyLedTimeout
the value of this key is the time in seconds it takes for the screen to "time out" after detecting a key press whilst it's dark. 6 hours (should be enough for a night) is 21600.
Click to expand...
Click to collapse
I will try and see where it brings me. Thanks

I don't know the mobile registry editor program.
Mine does install to the PDA, yes.

Related

How do I remap fonix voicedial button

hi just installed the fonix voice dial anyway was wondering if anyone has figured out how to remap it to a diff hardware button, it seems it has been hard coded to the voicerecord button. I currently have this button mapped for HandyLauncher but each time I press the button VoiceDial Launches... even if I have the Button mapped to Handy Launcher Voicedial is the app that is launched. Any help will be appreciated. Thanks
Hi,
The way I've done it before is use a registry editor and then search for "voicedial.exe" (without the quotes)
I believe it'll end up in something like:
Local Machine\Software\OEM\VoiceDial (or VoiceCommand?)
Simply delete the VoiceDial (or VoiceCommand?) section it self and that's literally all you need to do.
As always backup your device before editing the Windows Registry etc etc etc.
Works for me though and I've done it about 25 times (I hard reset a lot!)
Thanks a lot
Have the same problem on my Qtek 9090, Fonix has taken over my record button. However, if I press nad hold the button for 1/2 a second, it works fine. Give it a try - much better than messing about with the registry (unless, unlike me, you really know what you're doing!)
The way I've done it before is use a registry editor and then search for "voicedial.exe" (without the quotes)
I believe it'll end up in something like:
Local Machine\Software\OEM\VoiceDial (or VoiceCommand?)
Simply delete the VoiceDial (or VoiceCommand?) section it self and that's literally all you need to do.
As always backup your device before editing the Windows Registry etc etc etc.
Click to expand...
Click to collapse
Personally I hate it when software forces its preferred options on you when there is no need to. Removing the registry entry for the Fonix voice app turned out to be very easy, and now I have my button back!
I used the free Registry Editor: http://www.phm.lu/Products/PocketPC/RegEdit/
Thanks much Xanth.

Locking the Volume Buttons

I see this is a problem on the Omnia too, but when I lock my HD by holding down the call "End" key (Right Hand touch pad) the volume buttons are not locked!
Has somebody provided a tweak/fix for this calamatous feature?
Sorry, I don't know of a fix. Maybe third party apps that can assign another function to the volume buttons??
But the plus side of this feature is that when you are listening to music, you can put the phone on standby (to avoid accidental presses in your pocket), but you can easily reach into your pocket with your finger and turn the volume up or down without having to wake up the phone. Of course if you use headphones with volume control on them, then you don't need to reach in your pocket.
The volume keys will never be blocked. You cannot block them
you can try to use AEButton Plus and SKSchema!
You must make 2 different config files in AeButton, one wich leaves the Volume Buttons as they are (Default) and one disabeling them. Now you must make a script with SKSchema, wich changes everytime the Block starts or ends the config file of AeButton! This way you can use one Button configuration for the application "Phone Locked" and the other configuration for everytjing else!
Here is the instruction:
Save your default AeButton Settings (are located in the AEButton Program Folder) lets save them to \My Documents\AEBPlus Default\AEBPlus.cfg
now configurate AEButton with different settings (for example disable Volume up/down keys), lets save this cfg file to \My Documents\AEBPlus Locked\AEBPlus.cfg
Open SKSchema, type this script:
Code:
#r(#copyfile) #p(\My Documents\AEBPlus Locked\AEBPlus.cfg;\Program Files\AEBPlus\AEBPlus.cfg) #wait(1)
#r(\Program Files\AEBPlus\AEBPlus.exe) #p(0000) #waitfor(1)
the sense of this is to change the cfg files and to reinitialize AEButton
Save the Script as AEButtonLocked.sksc
Now we write a new script to do the opposite (change to default configuration:
Code:
#r(#copyfile) #p(\My Documents\AEBPlus Default\AEBPlus.cfg;\Program Files\AEBPlus\AEBPlus.cfg) #wait(1)
#r(\Program Files\AEBPlus\AEBPlus.exe) #p(0000) #waitfor(1)
Save the script as AEButtonDefault.sksc
Now we configure SKSchema to monitor for 2 events: opening our application (device lock) and closing it: add a new event in the SKSchema monitoring configuration: when the device lock application opens or closes start the scripts. (they are locates in
Code:
\My Documents\sScripts[/B])
so type this: [B]#c[[COLOR="Red"]shutil.dll[/COLOR]] #on[\My Documents\sScripts\AEButtonLocked.sksc] #off[\My Documents\sScripts\AEButton.sksc]
I DONT KNOW the lock Application EXE wich is running i hope it works..shutil.dll should maybe be rplaced with a EXE ...use some locker with a running exe (S2U... TouchLockPro (my favorit ))
You could lock the device when the stylus is putted in. This has two major advantages. You won't loose your stylus and you won't let your device unlocked.
Mobilemagic has a quirk in it that when you assign the buttons to a multi press application it disables a single press. See post 203 in this thread. It works great for me.
http://forum.xda-developers.com/showthread.php?t=449654&page=21
Great post Koffein, thanks. Actually TouchLockPro looks exactly what I'm after (and I didn't even know I needed it), I'll give it a try and see if it works for me. The usability of this device is getting so much better by the minute thanks to you xda guys!
Glad I could help, here are some tips for using TochLockPro
In Registry goto HKCU\Software\ZuinigeRijder\LockSettings\
and set the D-WORD "UnlockOnLightSensorTime" to 300, now your device will be unlocked after a shorter time period (0,3 sec) when it wakes up and "sees" light.
For me it is the best unlock method in the pocket it stayes locked, if it is activated accidently,
but when i activate it in a not too dark room while it is in my hand it unlocks automatically.
Adjust the other values if you want to customize it more

[APP] (24/08/09) DPBv1.1 - Power Button Options With Keyboard Open (Any Key Power On)

LATEST UPDATE - 24/08/2009
Version 1.1 Uploaded - Now included the option to turn on the power with any key when the keyboard is open.
You need MortScript installed you can find the CAB in \Program Files\DPB\MortScript.
--------------------------------------------------------------------------
Update - 18/08/09
All four options have now been wrapped up into one CAB.
Install the CAB and Run DPB in Programs and you can select which option you wish to enable.
Also, you can Reset the Device to it's default state.
You will need Mortscript installed on your device - the next version will include it.
***Delete DisablePowerBtn.mscr from \Windows\StartUp if you have previously manually copied the file from the zip OR Uninstall the CAB made by MONX before you install this version.
You can also delete the directory: \My Documents\Mortscript
The CAB is at the end of this post.
Cheers,
Andy
--------------------------------------------------------------------------
Previous Release Notes....
Quick update :
http://forum.xda-developers.com/showpost.php?p=4337281&postcount=13
Now the device should never turn off when the keyboard is open.
**Now also disables the Long Key Press of the Power Button
I know the issue of hitting the power button when the hardware keyboard is open is an issue for some people and has certainly been annoying me.
I am no programmer or expert but through trial and error I have written a script that senses when the keyboard is open that creates 2 links in \windows called 'Short_Power.lnk' & 'Long_Power.lnk'- These links runs another script that does nothing but now the power button does not respond when pressed. When the keyboard is closed the script deletes the shortcuts from windows and the power button returns to normal.
In the zip there are four files.
DisablePowerBtn.mscr - unzip and move to \Windows\Startup
Short_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Long_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Sleep.mscr - unzip and place in \My Documents\Mortscript
As I said I am no programmer but maybe there is an expert that could improve this or make a cab to automatically put the files in the right places.
You have to have Mortscript installed for this to work !
Note of caution - because I am no expert and this is running in the background I am not sure what system speed or resource issues this may create.
All I can say I have it on my TP2 and it works like a charm.
Any form of feedback would be appreciated - negative included.
dahoarty said:
I know the issue of hitting the power button when the hardware keyboard is open is an issue for some people and has certainly been annoying me.
I am no programmer or expert but through trial and error I have written a script that senses when the keyboard is open that creates a link in \windows called 'Short_Power.lnk' - This links runs another script that does nothing but now the power button does not respond when pressed. When the keyboard is closed the script deletes the shortcut from windows and the power button returns to normal.
In the zip there are three files.
DisablePowerBtn.mscr - unzip and move to \Windows\Startup
Short_Power.lnk - unzip and place in \My Documents\Mortscript (You may have to create this directory)
Sleep.mscr - unzip and place in \My Documents\Mortscript
As I said I am no programmer but maybe there is an expert that could improve this or make a cab to automatically put the files in the right places.
You have to have Mortscript installed for this to work !
Note of caution - because I am no expert and this is running in the background I am not sure what system speed or resource issues this may create.
All I can say I have it on my TP2 and it works like a charm.
Any form of feedback would be appreciated - negative included.
Click to expand...
Click to collapse
see my answer in the mortscript thread
egoist6 said:
see my answer in the mortscript thread
Click to expand...
Click to collapse
Hi, thanks for the advice as I said I am no expert.
I tried your suggestion.
What it seems to do is disable the power button with the keyboard shut and you then have to open the keyboard to turn the power on.
Maybe I didn't explain properly what I am trying to do. On the TP2 when you are typing on the HW Keyboard you can inadvertantly touch the power button which turns off the screen. The script I have written watches for the keyboard to open then copies the Short_Power.lnk to \Windows. This link points to the Sleep.mscr which just contains one line - 'Sleep(1000)'. When you close the keyboard the link is deleted therefore renabling the power button to normal.
I admit it is complicated but I only want to disable the power button when the keyboard is open.
I am sure there is a better way of doing this but with my level of expertise this is all I can achieve. However, it works.
Thanks
Just installed it, restarted device, and it works! thank you very much, i love it!
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Info: (attachment details from top) This cab contains script to disable power button when kb is slide out by dahoarty.
-MortScript + dahoarty disable short power button
-dahoarty disable short power button only (MortScript not included)
-dahoarty disable short and long power button (MortScript not included)
-MortScript + dahoarty disable short and long power button
-dahoarty disable short and long power button and disable device suspend timeout (ref:#13) (MortScript not included)
-MortScript + dahoarty disable short and long power button and disable device suspend timeout (ref:#13)
Cabs are updateable after installation.
monx® said:
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Click to expand...
Click to collapse
Thanks Monx for creating the cab it will now be easier for anyone wishing to use the script.
Cheers mate.
Wow, that was really anoying me! Thanks for this. Installed the cab and after a reboot, no more switching off in mid writing.
I wonder if there is a similar thing which can be done for the long press power button, to suppress the 'Power Off' message? Rarely occurs so no biggie but would be nice.
This is genius!
vigilante_xix said:
Wow, that was really anoying me! Thanks for this. Installed the cab and after a reboot, no more switching off in mid writing.
I wonder if there is a similar thing which can be done for the long press power button, to suppress the 'Power Off' message? Rarely occurs so no biggie but would be nice.
Click to expand...
Click to collapse
I have updated the files to also disable the long key press
Thanks!
This certainly works brilliantly but I have another suggestion...
Would it be possible to only have the button disabled while the device is powered on? If the device powers off by itself after the timeout, you have to close the keyboard, power on and then re-open the keyboard to carry on where you left off.
Again, not a major issue so no biggie if it isn't possible but I think that would be the final touch to this great fix!
+1: Great little tool.
vigilante_xix said:
Thanks!
This certainly works brilliantly but I have another suggestion...
Would it be possible to only have the button disabled while the device is powered on? If the device powers off by itself after the timeout, you have to close the keyboard, power on and then re-open the keyboard to carry on where you left off.
Again, not a major issue so no biggie if it isn't possible but I think that would be the final touch to this great fix!
Click to expand...
Click to collapse
This with another twist:
I realize that you have done a new version, which disables the "long press power off" function. How about making "long press power button" turn the device on when the keyboard is open?
monx® said:
Very good !
Packed & tested. Cab inside zip (sorry cant upload cab from my office ) With/out mortscript
(If u dont want to restart, just run/double tap \Windows\Startup\DisablePowerBtn.mscr manually)
Click to expand...
Click to collapse
Cheers Monx thany you very much.
Andy
TorbenKB said:
+1: Great little tool.
This with another twist:
I realize that you have done a new version, which disables the "long press power off" function. How about making "long press power button" turn the device on when the keyboard is open?
Click to expand...
Click to collapse
I am still working on your suggestion. However, I have created a new version which reads your current power settings on battery power. When you open the keyboard the suspend timeput is disabled. When you close the keyboard the suspend timeout returns to the setting you had previously chosen (I hope ).
In other words when the keyboard is open on battery power the device never turns off.
Just unzip the file and copy it to \windows\startup - then reset your device.
dahoarty said:
I am still working on your suggestion.
Click to expand...
Click to collapse
Ok. Thanks.
dahoarty said:
However, I have created a new version which reads your current power settings on battery power. When you open the keyboard the suspend timeput is disabled. When you close the keyboard the suspend timeout returns to the setting you had previously chosen (I hope ).
In other words when the keyboard is open on battery power the device never turns off.
Just unzip the file and copy it to \windows\startup - then reset your device.
Click to expand...
Click to collapse
Sounds interesting. Thanks. Will test that.
is there a way to wrap all four of these into one cab? BTW, once you install a cab file, do you have to keep it?
Chevy-n-Yamaha said:
is there a way to wrap all four of these into one cab? BTW, once you install a cab file, do you have to keep it?
Click to expand...
Click to collapse
See Post 5 - http://forum.xda-developers.com/showpost.php?p=4300628&postcount=5
I quite like my device auto switching off after 1 min to help conserve battery life.
Does this mean it's not possible to have the power button operate only when the device is switched off, while the keyboard is still open?
If not, how about creating a keyboard combination to switch the device back on, since the keyboard is already open. For example, press Ctrl+Shft+O to power on?
vigilante_xix said:
I quite like my device auto switching off after 1 min to help conserve battery life.
Does this mean it's not possible to have the power button operate only when the device is switched off, while the keyboard is still open?
If not, how about creating a keyboard combination to switch the device back on, since the keyboard is already open. For example, press Ctrl+Shft+O to power on?
Click to expand...
Click to collapse
I am working on a solution to this.
However, I have worked on the principal that I only ever have the keyboard open when I am typing something. When I've finished I close the keyboard and the power options return to normal.
New Version Available with All Options if One File - See Post #1
dahoarty said:
New Version Available with All Options if One File - See Post #1
Click to expand...
Click to collapse
I installed that 1 .cab file but it doesn't work... Shows up in the Remove Programs list but Power button still functions when the keyboard is open.
-- EDIT --
Actually it was my bad. Didn't have mort script installed... RTFM!!!
Everything is now working fine. Thanks again for this great release... Hitting the power button was a huge annoyance for me when using the keyboard...
- ReDz

unlock?

how do you reset the automatic lock i disabled it but can not reinable it? thanks
Click on the top bar (where the battery indicator is, just to the left of the task mgr)-->press the button to the right of the battery charge percentage (looks like the previous battery indicator)-->Select the "advanced" tab-->Adjust as you wish, just make sure all boxes are checked and you select an appropriate delay. I currently have mine set at 10 seconds and 1 minute for both "on battery power" and "on external power." This should cause the phone to auto-lock after each respective delay period.
thats how i have it set right now. and its still only going to sleep after a period of time its not locking .
i ran this program
http://forum.xda-developers.com/showpost.php?p=4996782&postcount=2961
then i uninstalled it cause i didnt like the lock screen on s2u2 all boxes are checked.
i ran the same .cab awhile back. the only thing that put it back was a hard reset.
also just so you know, installing the dusk slider screen will revert you to the old winmo locker when you uninstall it. so beware of that too
how do i do that? will it wipe the data?
You will need to reverse the registry changes that the cab made, then your lock will work again, make the following changes in your registry:
HKCU - ControlPanel - Keybd - DeviceLockWhenSuspend - change value to "1" from "0" (no quotes)
HKCU - ControlPanel - Backlight - AutoDeviceLockEnable - change value to "1" from "0" (no quotes)
Hope that helps, had the same problem
thank you very much
well i have not gotten this fixed but that is ok i have tried alot and i am used to the manual lock which isnt bad and the screen shuts of in 10s and it goes to the last screen which isnt to bad.

VJ KeyPress - Send a '1' to the phone.

Okay, so I'm using Google Voice with call presentation on, and I want to setup a shortcut to send a '1' to the phone to accept an incoming call. I just got a bluetooth watch and I want to be able to have the watch send the key so I don't need to dig out my phone when I'm in the car.
So, to test this a little bit I installed KeyPress and I setup that if I double press my start button in AE Buttons, it runs KeyPress with the parameter of 97. This works perfectly. No issues at all.
But when I try to create a short cut, everything fails. If I just press tap VJKeyPress, I get the little "help" screen. If I create a shortcut, and tap it, I also get the help screen. But when I try to modify the shortcut to pass the '97', then it fails.
I'm guessing that I'm missing something in the syntax, but I can't figure it out.
I have the path, in quotes:
"\P F\vijay555\VJKeyPress\VJKeyPress.exe"
Then I've put 97 at the end just plain, in quotes, in <>, I've put in right behind the .exe inside the quotes... Nothing seems to work at all. I'm at a total loss.
Anyone have a suggestion?
Hi,
Could you send me a screenshot of the configuration screen in AE Buttons.
I can't think why it wouldn't work, but what you could do is create a normal shortcut that launches VJKeypress with the required parameters, and then use AE Button to launch that .lnk shortcut itself, rather than VJKeyPress.exe
Should you get really stuck, VJBrisk might be able to help you, but I think the above should be adequate.
Drop me a PM (and post in the thread) again if you get stuck.
V
Oops... I didn't think I explained myself properly.
The AE Buttons is WORKING. It's the normal shortcut link that I can't get to work... and that's the thing I really need to get working.
Sorry, my bad, didn't read it properly.
I normally put example shortcuts in my cabs, but curiously I've got none in the cab on my phone. Can't believe the app is nearly 5 years old! Wow.
Anyway, I just tried making a shortcut.
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
If that works, just change the parameter to do what you want.
What app are you using to create shortcuts?
And what's the significance of the \p\f in your first post?
V
A bit more information...
I tried to write a simple MortScript to run this as well. According to the MortScript manual, to run an app, you use this command:
Run ( "\path\AppName" [,"Parameter"] )
In other words, the path and the command first, and then put in the optional parameter. When I put in just the app name:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" )
And run the script, I get the little help popup as I would expect. When I put in the parameter:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" , "97" )
Nothing happens.
vijay555 said:
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
Click to expand...
Click to collapse
Okay... well that locked the phone fine.
If that works, just change the parameter to do what you want.
Click to expand...
Click to collapse
I'm using both the text editor on Windows and Word on my PPC (not saving it in Word Format when prompted).
What app are you using to create shortcuts?
Click to expand...
Click to collapse
Just Copy the original file and then paste as shortcut.
And what's the significance of the \p\f in your first post?
Click to expand...
Click to collapse
Didn't feel like typing out \Program Files\.
Okay, so using the '133' definitely worked, but when I change it to 97 (the code to send NumPad1), it doesn't work.
But it DOES work when I tell AE Buttons to run VJKeyPress with the parameter of 97. Ugh... very odd.
Just for the fun of it, I also tried setting up a button in AE Buttons to run the shortcut that has '97' in it. That didn't work. I'm at a complete loss to figure out what's going on.
It may be that the keypress is occurring, but it's being fed into AE Buttons rather than the Phone Dialler, ie if when you press the required button, AE Button becomes active, which launches VJKeyPress, which presses 1 <b>within</b> AE Button, not the phone dialler.
You could test this by trying other keys and seeing what happens.
Also try activating Word or something else on your phone and launch the shortcut - see if the desired key gets pressed.
Also, you said NumPad1 - this is the number pad on a pc keyboard.
Try 49, which is just key 1.
V

Categories

Resources