Roby123 Posted May 29, 2009 Share Posted May 29, 2009 Hi guys, I'm new of this forum and I've been studing autoIt since a few days. I need to extract a number from a string. I can take this string with WinGetText ( "www.darkorbit.bigpoint.com","" ) Can I extract the text in a particular area of the window? in pixel his position is 200,30,600,50. How can I get it??? Thank you for your answer Roberto (I'm italian and I can't speak english very well)) Link to comment Share on other sites More sharing options...
Roby123 Posted May 29, 2009 Author Share Posted May 29, 2009 And another thinks.... I've this function $testo = WinGetText ( "www.darkorbit.bigpoint.com","Fuori Gittata" ) If not $testo="" then $fuori=$fuori+1 EndIf If $fuori=3 then $velocita=$velocita+1 $fuori=0 endif MsgBox(1, "Numero fuori gittata", "Hello from the main script!" & $testo) $testo turn me 0... I open a page with the title www.darkorbit.bigpoint.com where is write a lot of Fuori Gittata... So I wonder if I do a mistake! Please Help Me!!!! Link to comment Share on other sites More sharing options...
oMBRa Posted May 29, 2009 Share Posted May 29, 2009 No you cant read the text from the browser with WinGetText, you can get the source of the page and then search there your information. If you post the source I can help you Link to comment Share on other sites More sharing options...
charvi Posted May 29, 2009 Share Posted May 29, 2009 Hmm, my idea is that you might try to write a kind of OCR (Optical Character Recognition) program by scanning the pixels on the screen... Link to comment Share on other sites More sharing options...
Roby123 Posted May 30, 2009 Author Share Posted May 30, 2009 Hmm, my idea is that you might try to write a kind of OCR (Optical Character Recognition) program by scanning the pixels on the screen... I don't know what it is... with OCR I can get a text, an specify image or color and also a number(like 256000/256000)? Link to comment Share on other sites More sharing options...
Roby123 Posted May 30, 2009 Author Share Posted May 30, 2009 No you cant read the text from the browser with WinGetText, you can get the source of the page and then search there your information.If you post the source I can help youThe page is a flash page...I can't get the source. if I click with the right on it I can reach only impostation of flash! Link to comment Share on other sites More sharing options...
Roby123 Posted May 31, 2009 Author Share Posted May 31, 2009 NOBODY can help me??? Link to comment Share on other sites More sharing options...
Roman9 Posted May 31, 2009 Share Posted May 31, 2009 Reading text from an image/flash isn't an easy thing by any means. The best help I can give you is to tell you to search the forums for OCR. 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