GruchaBks Posted March 17, 2009 Share Posted March 17, 2009 I want to scan any square of the browser window and recognize the number which is there. It isny any "picture" number. I can focus it and copy-paste to notepad. Should i look for any OCR or is any other way to recognize that number? Link to comment Share on other sites More sharing options...
Mat Posted March 17, 2009 Share Posted March 17, 2009 " browser window "do you mean explorer.exe, Ie or any other browser? Or are you looking for a method that would work in all... AutoIt Project Listing Link to comment Share on other sites More sharing options...
GruchaBks Posted March 17, 2009 Author Share Posted March 17, 2009 do you mean explorer.exe, Ie or any other browser? Or are you looking for a method that would work in all...I prefer firefox, but if the method in IE is easier, it doesnt makes difference for me. Link to comment Share on other sites More sharing options...
GruchaBks Posted March 18, 2009 Author Share Posted March 18, 2009 Bump Link to comment Share on other sites More sharing options...
foster74 Posted March 18, 2009 Share Posted March 18, 2009 What exactly do you mean when you say you want to scan any square of the browser window? Using _IE functions you can put the page HTML into a string and go from there. Is there an example page and number field which I could try and write you up something for? Link to comment Share on other sites More sharing options...
GruchaBks Posted March 18, 2009 Author Share Posted March 18, 2009 (edited) What exactly do you mean when you say you want to scan any square of the browser window? Using _IE functions you can put the page HTML into a string and go from there. Is there an example page and number field which I could try and write you up something for?Its a browser game. Im opening an info window ( I deleted rest of the window, i left only numbers, i dont want any1 know im working about script):These numers arent graphic numbers, i can copy-paste them to the notepad. Id like to recognize numbers and return value in the functionedit: after i open the window, im moving this in the corner, and these numbers are always in the same coords. So i want to search this gray square to detect numbers. I was thinking about any function which works like PixelSearch. for example PixelSearch(left, top, right, bottom) edges of the square and detect numbers inside. Edited March 18, 2009 by GruchaBks Link to comment Share on other sites More sharing options...
jvanegmond Posted March 18, 2009 Share Posted March 18, 2009 Try to reverse engineer the Javascript that adds these numbers to the source and see what you can do with that. github.com/jvanegmond Link to comment Share on other sites More sharing options...
GruchaBks Posted March 18, 2009 Author Share Posted March 18, 2009 Try to reverse engineer the Javascript that adds these numbers to the source and see what you can do with that.i dont know what are You talking about Link to comment Share on other sites More sharing options...
GruchaBks Posted March 18, 2009 Author Share Posted March 18, 2009 any other ideas? Link to comment Share on other sites More sharing options...
jvanegmond Posted March 18, 2009 Share Posted March 18, 2009 any other ideas? Try the ones suggested. github.com/jvanegmond 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