LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I send keyboard/mouse commands from a VI to an external application?

I am launching an external application (BeamScan.exe by Photon) in Windows 95 from a LabVIEW 5.1 VI using Exec. I want to be able to configure the external application from its own menu bar, sending key commands or mouse clicks from the VI. I need to do it this way because the external application has only limited ActiveX capabilities which do not include the menu options I want to control.

Is it possible to send keystrokes or mouse clicks through Windows 95 to the other application?
0 Kudos
Message 1 of 2
(3,349 Views)
Steve_rvk wrote:

> I am launching an external application (BeamScan.exe by Photon) in
> Windows 95 from a LabVIEW 5.1 VI using Exec. I want to be able to
> configure the external application from its own menu bar, sending key
> commands or mouse clicks from the VI. I need to do it this way
> because the external application has only limited ActiveX capabilities
> which do not include the menu options I want to control.
>
> Is it possible to send keystrokes or mouse clicks through Windows 95
> to the other application?

Download "Simulate Click" and "Simulate Key Event" from my web site.
It's on G Toolbox page.

George Zou
http://gtoolbox.yeah.net
http://go5.163.com/~georgezou
0 Kudos
Message 2 of 2
(3,349 Views)