09-30-2011 01:29 PM
I am new to Lab Windows CVI and am looking for any examples that can show
how to read the contents of a 3rd party program's edit box and set the contents
of the same edit box (ID=105 from list below) from Lab Windows CVI using the Win32 API calls.
Does anyone have an example of how I might set this up?
Specifics about my 3rd party application:
Window name = LaunchPad
Parent Child1 Child2 Class ID Name
--------- -------- -------- -------------- ------ -------------------
0 wb0wcdl3 0 LaunchPad
0 1 ComboBox 100
0 1 1 Edit 1001
0 2 Button 101
0 3 Button 102
0 4 Button 103 Check Box1
0 5 Button 104 Radio button 1
0 6 Edit 105
0 7 Static 106 Command:
Thank you!
09-30-2011 03:37 PM
Did you try autoit?
09-30-2011 03:54 PM
what is autoit?
09-30-2011 03:58 PM
With autoit you can control other windows programs by simulating mouse and keystrokes and also reading values from standard windows controls of other application.
http://www.autoitscript.com/site/autoit/
http://www.autoitscript.com/site/autoit/downloads/
10-03-2011 09:37 AM
So is autoit an alternative to using Lab Windows for controling Win32 API controls or is it somehow used with Labwindows?
I was really hoping that Lab Windows would be complete enough to handle this without having to add another add on type application...
10-04-2011 06:27 PM
Hi Robojeff,
I doubt that you will be able to find an example for this, however the following KnowledgeBase article will help you get started regarding making these calls. Good luck with your project!
Regards,
Jackie
10-04-2011 06:29 PM
Correction,
This KnowledgeBase article.
Regards,
Jackie