Jump to content

Hidden Text Help


Recommended Posts

I'm trying to write a script, however one of the values I need to check is not visible in the "Visible Window Text", however, I can see it in the "Hidden Window Text" area of the Active Window Info. It appears as such:

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

0

All

Empty?

1

Empty?

On the window I'm trying to use, the value appears to be a greyed out listbox with a vertical scrollbar control. The only way to change the value is by clicking either the up or down arrow on the scroll bar. This changes the value displayed in the box. This also changes the value of the "1" above in the hidden text. The "1" is the value I'd like to check and act upon it depending on it's value, but since I can't see it anywhere except in the Hidden Text, I'm not sure how to deal with it. Any ideas? I'm assuming since the Active Window Info program can see it, that I should be able to do something with it, at least I'm hopeful that I can!

Thanks so much!

Kenobi

Link to comment
Share on other sites

Use the AutoIt Option:

AutoItSetOption("WinDetectHiddenText", 1)

The hidden text will now be returned by the WinGetText function.

#)

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