Showing results for 
Search instead for 
Did you mean: 

How can I click mouse programmatically??

Hello guys:
Now I want to call a third-part EXE software ,  I only can open it use LabVIEW and I want operate the cursor move and click on the EXE interface to finish it automatically.
Can any body can help me on how to click mouse programmatically?
Thanks in abvance!!!
0 Kudos
Message 1 of 4
If you search the forums, you should find some examples for using the SetCursorPos and Mouse_event windows API functions, which should help you.

Try to take over the world!
Message 2 of 4
Here is an example that will position the cursor to the upper left of the desktop (where 'My Computer' generally is) and then double click in turn opening the file.  Hope it helps
0 Kudos
Message 3 of 4
Thanks for your help!!!
0 Kudos
Message 4 of 4