Jump to content

Autoit info tool give wrong value


bestsmr
 Share

Recommended Posts

Hello every body;

I use "Autoit info tool" to get information aboat specific control ,

the text that I get is different from I see on screen ; as shown in image :

 

 

My quation is : Why?

                       How I can pass this problem?

thanks

post-61323-0-84728800-1416630888_thumb.j

Link to comment
Share on other sites

Yes, it's different, but i don't think it's wrong!

Why?

Like many automation applications, the AutoIt Info only support standard Windows control. DotNET controls is not standard, but customized controls.

In most situation, the .NET controls should behave like a standard, but in some case, like your, it's not.

The .NET controls store its text internal, so any attemp to retrieve it using WinAPI function, like GetWindowText - which is used in AutoIt Info - fails. Because it get the text which Windows store, not .NET, but the .NET control using the internal text to draw value.

Instead of the current text, the value you get is the initial value of the control.

How?

I think with this problem, you are out of luck. Considering using .NET instead of AutoIt.

99 little bugs in the code

99 little bugs!

Take one down, patch it around

117 little bugs in the code!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...