Sign in to follow this  
Followers 0
Aslak

AutoIt and VB

2 posts in this topic

#1 ·  Posted (edited)

Hi there !

I'm currently working on some AutoIt scripts for automating some test tools made with VisualBasic.

But I have a problem. It seems that AutoIt is not able to see the "label" objects used in VB. I mean, when I use the AU3info tool it never detects the text contained in the label objects (not as visible and neither as hidden).

Is there a way in AutoIt or in VB to make these "labels" objects possible to be seen by AutoIt ?

(the only I found till now is to replace the label objects by other control like a text input control... but it's gonna be too much work to replace them all.....)

Some help would be very wellcome...

Thanks in advance,

Julien Aho

Edited by Aslak

Share this post


Link to post
Share on other sites



I'm supriced you cant see the label control. You are using the latest and greates version of AutoIt?

Anyhow, replacing all text controls are not so difficult. Just open your frm/ctl files in notepad and you will understand why. Then you will have to replace .Caption with .Text and maybe add some color and disabled settings (Note you should probably add those before you change the control type).

Hapy Scripting.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0