Jump to content

WinGetText


Recommended Posts

Hey guys :)

I need some help (sorry for bad english):

I´ve got a window with the title "fhs Simple Ping".

--------------------------------------------------------------------------------------------

That is the contents of the window:

Info:

Titel:" fhs Simple Ping ( 60 Seconds) " |----> the counter "60 seconds will go down

Inhalt: "The Server was not found" |-----> This text is a label! It change wenn the Server was found to "The Server was found"

Button: "Ok"

-------------------------------------------------------------------------------------------

Now i will read the text from the window with "WinGetText".

Thats my script:

$var = WinGetText("fhs Simple Ping", "")

MsgBox(0, "Text read was:", $var)

But the message Box only shows : "The read was: Ok"

therefore the text from the Button. Why? I will get the hole text! Can´t AutoIt3 read a text from a label? I hope you understand my problem. Please use easy englisch. i hope for answers. thank you.

regards sebsabul

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