Sign in to follow this  
Followers 0
kenobi

Hidden Text Help

3 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Use the AutoIt Option:

AutoItSetOption("WinDetectHiddenText", 1)

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

#)

Edited by nfwu

Share this post


Link to post
Share on other sites

Use the AutoIt Option:

AutoItSetOption("WinDetectHiddenText", 1)

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

#)

That did it for me! Thank you ever so much!

Kenobi

Share this post


Link to post
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
Sign in to follow this  
Followers 0