JayGuerette Posted November 3, 2009 Share Posted November 3, 2009 I'm trying to automate an application, and the Window Info tool shows "Visible Text" that I am unable to get *completely* using WinGetText or ControlGetText. These functions return truncated results; varying around 10-14 leading characters of the various snippets of text found in the window. What method does the Window Info tool use to get the window text, or in what way is it post-processing that text, that makes it completely visible? The latest stable release and the latest beta behave identically. Link to comment Share on other sites More sharing options...
BrettF Posted November 3, 2009 Share Posted November 3, 2009 Code? Post the output for the window info tool as well... Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
JayGuerette Posted November 4, 2009 Author Share Posted November 4, 2009 Code? Post the output for the window info tool as well...I've read that there are "issues" with QWidgets, but if the Window Info tool can see the text, then shouldn't WinGetText?(there is a minor time difference in my execution of the script and the window info data, hence the 8/21 seconds...) Link to comment Share on other sites More sharing options...
JayGuerette Posted November 13, 2009 Author Share Posted November 13, 2009 So is it safe to assume this is a "stumper"? Link to comment Share on other sites More sharing options...
Kealper Posted November 13, 2009 Share Posted November 13, 2009 (edited) yea i think it might be, i've never seen the Window Info tool return anything other than what you could get yourself via WinGetText, and i've used it quite alot. its almost like they are reading two different windows... EDIT: try using ClipPut($text) and after it executes paste the contents into a notepad window or scite, it could be the message box thats clipping it for some strange reason...i'll test it with a few things and see what i come up with EDIT 2: yea i've got nothing :S Edited November 13, 2009 by Kealper 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