LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling Menu Bars of Windows Applications like IE and Editor with LabVIEW 6

Hi everybody !
I'm trying to develop a vi (LabVIEW 6) which controls menu bars in
Windows Applications (IE, Editor, etc.) like "File-Save As..." or
"View-Source...". I'm pretty sure I've got to use the ActiveX
possibilities in LabVIEW, but I haven't been succesful. Any comments
will help.
Thanks
0 Kudos
Message 1 of 2
(2,557 Views)
You can use Win32 API to simulate a key-press (e.g. ctrl-S for Save)
for IE or any window applications, as long as the application has
short cut for menu items, and active.

You can use external code (VC, VB, dephi, etc..) to build DLL, CIN, or
ActiveX, call them in LabVIEW.

I made "Send Keys.vi" in G Toolbox.

If the menu item doesn't has a shortcut, you can send a message (use
spy tool to find out) to the application.

George Zou
http://gtoolbox.yeah.net
0 Kudos
Message 2 of 2
(2,557 Views)