Hi, Wil.
The best way to accomplish this is to use the event structure (as Dennis recommended in your other thread). If you select the
Key Down? (Filter) event, you can catch the event, run your code, and then discard the event before it's used by any other processes.
Take note, however, that the
Discard? option won't be present if you select the
Key Down? (Notify) event by mistake.

Let me know how this works for you. Have a nice afternoon!
Message Edited by sarahk on 04-24-2006 01:23 PM
Sarah K.
Search PME
National Instruments