Hey Mitch,
Let me see if I understand your application -- you have an executable that runs and requires user input including mouse clicks and keyboard characters via a GUI, and you are currently trying to automate this program by programmatically giving focus to the window and simulating keyboard strokes?
Does this program also have a command line interface that allows you to control it via the command line?
You can use System Exec.vi to launch an executable or batch file, but you only have the option of waiting for it to complete or running it in the background, however you can specify command line arguments.
When you say you want to disable the keyboard, do you simply mean unplugging the keyboard or actually disabling the driver, and if the latter, what method are you using to disable the driver? I am not familiar with whether disabling the keyboard driver prevents you from programmatically registering keyboard commands
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂