Output Keystrokes


y2k4u

Recommended Posts

I am looking for a simplest way to output series of keystrokes (eg. <ctrl-tab>) in DAQFactory when a designated channel is in active state. I prefer to use event to detect and output keystrokes and cannot find any build-in function nor variable that that would allow me to output keystrokes. What can I do?

Link to comment
Share on other sites

Do you mean like a keyboard wedge? DAQFactory does not have this capability. In order to do it, you would have to find an external application that can be called from a command prompt to output a single character as if it was typed on the keyboard (a "keyboard wedge" program). The trick is finding one that will run from a command prompt and output only one key stroke. Then you can use the system.shellexecute() function to call that program to do what you need.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.