Jump to content
Sign in to follow this  

WinGetText not working

Recommended Posts


I want to see the text of a control.

But Au3Info didn´t show any text for the control so ControlGetText won´t work.

Au3Info shows the text in its visible text section but when i use WinGetText it returns nothing.

it doesnt work with AutoItSetOption("WinDetectHiddenText", 1) , either.

So when Au3Info is able to see the text .. i would like to know how.

Thanks for any help :D

Share this post

Link to post
Share on other sites

Its always nice to show a example. Its kind of wierd somtimes I have to use WinGetHandle. :D

$WinHandle = WinGetHandle('My Window')
$text = WinGetText($WinHandle)
MsgBox(0, "Text read was:", $text)


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.