Message 1 of 6
Capture Keystrokes
Not applicable
01-18-2005
09:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to make a command to make it easier to create script files.
The idea is to click a start button in a modeless form, and from then on grab each key as it's pressed until a stop button is pressed, so that I can then save it to a *.scr file to run on multiple drawings.
Now, seeing there's no KeyPress event for AutoCAD, does anyone know of a way to do this?
Using the Begin/EndCommand events gives me the commands, but doesn't give me the options that may have been set from within the command.
Thanks,
Mick.
The idea is to click a start button in a modeless form, and from then on grab each key as it's pressed until a stop button is pressed, so that I can then save it to a *.scr file to run on multiple drawings.
Now, seeing there's no KeyPress event for AutoCAD, does anyone know of a way to do this?
Using the Begin/EndCommand events gives me the commands, but doesn't give me the options that may have been set from within the command.
Thanks,
Mick.