PDA

View Full Version : Monitor the Caps Lock Key



noddy
07-26-2007, 01:56 AM
I need some pointers on how to monitor the key board.
Yes I know how to read the state of the keys, but I want the rest of the program to keep running, until the Caps lock key is changed. At which time I will run a macro.

Any pointers, or help much apperaciated

noddy

rory
07-26-2007, 02:40 AM
Hi,
You can use:
application.OnKey "{CAPSLOCK}", "macro name"

Regards,
Rory

noddy
07-26-2007, 11:52 AM
Thanks Rory, will look into that to day

Noddy