Jump to content

question--how to obtain an active window text string?


Recommended Posts

hi.

I am trying to design a script for some purpose in warcraft, basically, I want AutoIt it to be able to grab text string from the game window

such as "reqs" or "info" , if the script observes those strings, it types something,

How to do that please? which command?

thanks.!!!

Link to comment
Share on other sites

If the window is active and you can activate the Au3Info.exe tool you will get the window title and handle, after it, you will use wingettext but only if the

Au3Info.exe shows you under the Text colum that it recognized the text you wanted.

Link to comment
Share on other sites

If the window is active and you can activate the Au3Info.exe tool you will get the window title and handle, after it, you will use wingettext but only if the

Au3Info.exe shows you under the Text colum that it recognized the text you wanted.

thanks for your advice, I just tried with AutoIt v3 Window Info, it does not work with this window

---I tried to use it on a Notepad window, it can show text, but for this window under both "visible text" and "hidden text" it dont show anything.

any suggestion? I hate to use getpixelcolor because it has too many limitations.

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