Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: waitforkey trapkeys
Note uses exclusive(@on), runs not badly on a 233MMX with 64MB.
This code monitors key presses but the results are based on the OEM keyboard keycodes on your system.
The Trapkeysdemo.wbt file contains a demo script and the actual script (Trapkeys.wbt) has a little wizard in it to help define any hot keys. I wrote it because there have been numerous posts asking about trapping keystrokes beyond the waitforkeys() function and I was curious to see what I could come up with.
Trapkeys.zip
Article ID: W14298
Filename: TrapKeys alternative to WaitforKey.txt
File Created: 2017:08:29:11:58:56
Last Updated: 2017:08:29:11:58:56