Jump to content

Check text on other application


 Share

Recommended Posts

Ok i want my autoit code to check a text on my other application. Now im using autoit v3 Window info and i get this info, theres a specific static field on the application that change values and i want to grab that info.

In the WIndow Info it says:

>>>> Control <<<<

Class: MozillaWindowClass

Instance: 5

ClassnameNN: MozillaWindowClass5

Advanced (Class): [CLASS:MozillaWindowClass; INSTANCE:5]

ID:

Text: Hello

Position: 0, 198

Size: 1663, 774

ControlClick Coords: 1186, 395

Style: 0x56000000

ExStyle: 0x00000000

Handle: 0x00530652

Now you can see the Text : Hello

i want to grab that because that changes, sometimes its Hello sometimes its something else. How do i do that?

And i would like to avoid the way to open up the window and use a OCR to find out that value.

Thanks in advance!

Link to comment
Share on other sites

Yes but the class changed, its not mozilla im checking, that was just an example.

I need a code to check the class, because it changes everytime i start it.

Im sorry if im bombing with questions, but i really appreciate the help!

Edited by Dracil
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...