Jump to content
Sign in to follow this  
Silvinho

How to capture all Labels of a window?

Recommended Posts

Silvinho

How to capture all Labels of a window and to save in a txt file?.

Labels of my application in Delphi were not recognized by AutoIT Window Info.

Thanks :P

Share this post


Link to post
Share on other sites
Zedna

I suppose the windows are Delphi MessageBoxes, Am I right?

Delphi function ShowMessage() uses graphic painting (Windows.DrawText on canvas) instead of using standard static texts for labels.

So you can't read it by AutoIt.

In Delphi:

ShowMessage() --> uses painting --> you can't read texts

Application.MessageBox() --> uses standard Win32 API --> you can read texts

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  

×