kenobi Posted March 16, 2007 Share Posted March 16, 2007 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 More sharing options...
nfwu Posted March 16, 2007 Share Posted March 16, 2007 (edited) Use the AutoIt Option: AutoItSetOption("WinDetectHiddenText", 1) The hidden text will now be returned by the WinGetText function. #) Edited March 16, 2007 by nfwu TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
kenobi Posted March 18, 2007 Author Share Posted March 18, 2007 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now