RIckDeFalco Posted April 16, 2010 Share Posted April 16, 2010 I have a "Properies" dialogue box on screen and I need to read all of the text in the box. The function "WinGetText" seems to only read the control buttons. Is there a way to read the text within the box (I am looking to compare the text for a particular string). Thanks very much for any help. RIck DeFalco Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 16, 2010 Share Posted April 16, 2010 Look at the properties dialog with the AutoIt Window Info tool (AU3Info.exe). See if the text is inside another control that needs more work to read (like a SysListView32). If that doesn't help you, post the contents of the Summary tab so we can see what you're dealing with. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
RIckDeFalco Posted April 19, 2010 Author Share Posted April 19, 2010 Look at the properties dialog with the AutoIt Window Info tool (AU3Info.exe). See if the text is inside another control that needs more work to read (like a SysListView32).If that doesn't help you, post the contents of the Summary tab so we can see what you're dealing with.Hello, Thank you very much for your response. I looked at all of the other controls in the Window Info Tool, but the testwithin the Dialogue box doesn't appear anywhere. I am attaching the contents of the Summary tab so you can view it. Thanks again for any help you can give me.Best regards,Rick DeFalcoSummary Window-Properties Dialogue.txt Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 19, 2010 Share Posted April 19, 2010 Hello, Thank you very much for your response. I looked at all of the other controls in the Window Info Tool, but the test within the Dialogue box doesn't appear anywhere. I am attaching the contents of the Summary tab so you can view it. Thanks again for any help you can give me. Best regards, Rick DeFalco >>>> Control <<<< Class: Internet Explorer_Server Instance: 1 ClassnameNN: Internet Explorer_Server1 It's simple, that's not a Windows control, it's a web page. You can connect to the IE dialog with _IEAttach() and the "DialogBox" mode, then work with the DOM elements like any other web page using the various _IE* functions. See the help file. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
RIckDeFalco Posted April 20, 2010 Author Share Posted April 20, 2010 It's simple, that's not a Windows control, it's a web page. You can connect to the IE dialog with _IEAttach() and the "DialogBox" mode, then work with the DOM elements like any other web page using the various _IE* functions. See the help file.Thanks very much for putting me on the right path. I think I can slog through it now. Best regards,Rick D 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