I am trying to use KeyTrap to force the stupid NumLock key to always
be in the ON state. I searched and did not find anything related to
what I want to do.

I want to always have NumLock on and to keep it on if it is
accidentally pressed. This used to work from the checkbox in the GUI
control tab, but no longer works with the Windows XP on this computer.
I have used PowerPro for many years, however I have not ever used
KeyTrap, so bear with me here.

I used the ktconfig.exe to find the codes for the NumLock key. Then in
PowerPro config, under the Key/Mouse tab, I made an entry so that
every time NumLock is pressed a script file will run. I made this
script file, and when it is called, it gives me a message as to what
the state is of the NumLock key:
nlState = KeyTrap.GetKeyState(1,144)
if(nlState eq 0)
        *Message Numlock OFF
endif
if(nlState eq 1)
        *Message Numlock ON
endif

So that works. However if I use this file, nothing happens, NumLock
toggles as if this script was not doing anything:
nlState = KeyTrap.GetKeyState(1,144)
if(nlState eq 0)
        keytrap.sendkeys(69,144,1)
endif

If I use this script file to just force the state, nothing happens also:
keytrap.sendkeys(69,144,1)

Another annoying thing now happens. After running either macro,
whenever I hit Enter in any application, a PowerPro Debug window
appears. I have to terminate PowerPro to get rid of this happening. I
have PowerPro scripts that I have run for years off keystrokes and
have never seen this before.

help, please........






Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to