vegipete Posted April 1, 2008 Share Posted April 1, 2008 Greetings All. (I've copied this from the genereal discussion to here to be more on topic.) I decided to write a short Vectorscript routine that requires user interaction with the selection of points using the mouse. The extra trick though that I want to implement involves checking keypresses at the same time. Trouble is, I can't figure out how to have snaps active at the same time, or rather, use a function that responds to snaps. The GetPt and GetPtL procedures stick to snap points during use, but won't let me catch keypresses at the same time. The GetMouse procedure and the MouseDown function let me use the KeyDown function but do not respect snap points. Is there a way to get both snaps and keypresses while moving the mouse around in a Vectorscript? As an example, pressing the 'U' key while using certain tools allows switching amongst tool options. I'm hoping to trap number keys to modify what the tool does on the fly. Ie, I don't want to have to pre-select the result. Thanks for any help or suggestions. P. (Hopefully suggestions are relatively platform and version independent as I have clients using all sorts.) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.