10-13-2005 01:37 AM
10-13-2005 06:08 PM
I've linked an example program here that contains a subVI which simulates keyboard input. You could use it to simulate key strokes, but you would need to do something like an Alt+Tab in order to change key focus to another window. Honestly, controlling the application this way will be tedious and the unpredictability of window tabbing order could present problems. Does this application have an ActiveX (COM) interface? If so, I would recommend using ActiveX in LabVIEW to control the application.
Kind Regards,
10-14-2005 12:43 AM
At home, I have program Girder http://www.promixis.com/products.php?section=girder, they don't need to change key focus to send keystroke to any running application.
10-14-2005 01:55 AM
10-14-2005 02:22 AM
10-14-2005 07:16 AM - edited 10-14-2005 07:16 AM
Message Edited by Oldi on 10-14-2005 07:19 AM
10-14-2005 09:02 AM
10-16-2005 07:35 PM
01-04-2006 07:18 AM - edited 01-04-2006 07:18 AM
With combination of Find Winodows.vi and Set Active Window.vi Demo from G Toolbox
and Emulate Keyboard.vi from copytext.zip I get a working VI, but it doesn't work if target application is in a Taskbar. If Application is only inactive, then everything is OK. Good enough.
Message Edited by Oldi on 01-04-2006 07:21 AM