Jump to content

How to read text when it is not shown in visible/hidden/statusbar/toolsbar


 Share

Recommended Posts

I have tried to find info from autoit help and google, but no luck.

For example in our "Auto It Window Info" program we have text in different locations but this kind of text cannot be selected with mouse. Can this kind of text be read by AutoIt? Please see pictures.

If so, can you help how it is done?

 

example.png

example2.png

Link to comment
Share on other sites

Francesco, these GUICtrlListView functions are totally new for me. Could you help me to get started?

For example if I would like to get the text "Class:" or "Command ID" in the AutoIt window Info identified by AutoIT?

Link to comment
Share on other sites

@USSSR
As you can see, the Window's class is "WorkerW", so you could take the handle of this window using WinGetHandle() and the Class of the window.
Having the handle of the window, you could take the handle of the ListView control always using the class name with ControlGetHandle().
Once you have these handles, you could use _GUICtrlListView_* to get what you need (in this case, the text of an item).
But, as you can see from here, there are plenty functions to be used with ListView (all those which start with _GUICtrlListView_), and so, you can try to use those to get some information from the ListView handle previousely taken :)

Click here to see my signature:

Spoiler

ALWAYS GOOD TO READ:

 

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...