Drew Posted August 26, 2008 Posted August 26, 2008 (edited) Is there a way to read text that no , the AutoIt Window tool does not pick up... but yes , you can highlight it and copy ( clipboard it )... Seems if you can add it to the clipboard , it's possible to read it. But I can't figure out how. Thanks, *Drew Edited August 27, 2008 by Drew
TehWhale Posted August 26, 2008 Posted August 26, 2008 It would really help us if you actually told us your issue and a description in the title. Most members don't even read topics with: "help" "question" "topic" in the topic title/description.
PsaltyDS Posted August 27, 2008 Posted August 27, 2008 Is there a way to read text that no , the AutoIt Window tool does not pick up... but yes , you can highlight it and copy ( clipboard it )...Seems if you can add it to the clipboard , it's possible to read it. But I can't figure out how.Thanks,*DrewLots of control types don't show their text to the window, but are easily read with the right tool (i.e. ListView). Seeing the text in AU3Info.exe is not critical; can you see the control ID? Post the results from the summary tab with the mouse over the control involved (ctrl-alt-f to freeze the display while changing tabs). 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
Drew Posted August 27, 2008 Author Posted August 27, 2008 (edited) Here's the results: >>>> Window <<<< Title: Mozilla Firefox Class: MozillaUIWindowClass Position: 0, 0 Size: 1024, 740 Style: 0x14CF0000 ExStyle: 0x00000100 Handle: 0x000A028C >>>> Control <<<< Class: MozillaWindowClass Instance: 5 ClassnameNN: MozillaWindowClass5 Advanced (Class): [CLASS:MozillaWindowClass; INSTANCE:5] ID: Text: Position: 0, 116 Size: 1000, 575 ControlClick Coords: 333, 273 Style: 0x56000000 ExStyle: 0x00000000 Handle: 0x0040030E >>>> Mouse <<<< Position: 337, 412 Cursor ID: 2 Color: 0x100C08 >>>> StatusBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<< Sorry for posting multiple threads , it was just I thought Alienware had a point. Edited August 27, 2008 by Drew
PsaltyDS Posted August 27, 2008 Posted August 27, 2008 Here's the results: >>>> Window <<<< Title: Mozilla Firefox Class: MozillaUIWindowClass >>>> Control <<<< Class: MozillaWindowClass Instance: 5 ClassnameNN: MozillaWindowClass5 Advanced (Class): [CLASS:MozillaWindowClass; INSTANCE:5] That's a Firefox browser window, and you're out of luck. Firefox does not expose internal browser workings to other processes with a COM Object interface the way IE does. The Mozilla class of objects do not respond to standard Windows API calls. If you must automate a browser with AutoIt, then use IE with Dale's IE.au3 UDF. 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
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