GruchaBks Posted March 17, 2009 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?
Mat Posted March 17, 2009 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
GruchaBks Posted March 17, 2009 Author 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.
foster74 Posted March 18, 2009 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?
GruchaBks Posted March 18, 2009 Author 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
jvanegmond Posted March 18, 2009 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
GruchaBks Posted March 18, 2009 Author 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
jvanegmond Posted March 18, 2009 Posted March 18, 2009 any other ideas? Try the ones suggested. github.com/jvanegmond
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