asym Posted October 18, 2010 Share Posted October 18, 2010 Is it possible to make a script that reads or copies or does something to a text data and is able to analyze it like OCR Im taling about copying a number from a webpage and analyze it and if its < X it does a designed action, because the number is something like a counter and its allways changing but its "copy able" Link to comment Share on other sites More sharing options...
Scrippter Posted October 18, 2010 Share Posted October 18, 2010 (edited) I never had any luck with OCR, i always had to use a pixel search, if you want OCR have the system do a screen shot and somehow get Microsoft document imaging to OCR it for ya, and then copy the text and as you please. I know its kinda a long shot, just i had no luck with OCR but that one. Edited October 18, 2010 by Scrippter Link to comment Share on other sites More sharing options...
somdcomputerguy Posted October 18, 2010 Share Posted October 18, 2010 Is the number an image or text? - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
asym Posted October 19, 2010 Author Share Posted October 19, 2010 Is the number an image or text?Sorry for the delay...The number is a kind of a dynamic text... Its like a counter but its in text format you can copy it like you usually do Link to comment Share on other sites More sharing options...
Realm Posted October 19, 2010 Share Posted October 19, 2010 Hello kaneco, There are 2 options that I know of: 1. Use _InetGetSource() with the INET.au3 UDF to download the source of the webpage, and use StringRegExp() to extract the data. 2. Use _IEBodyReadText with the IE.au3 UDF to download the readable text from the webpage, or _IEBodyReadHTML to download the HTML, and again use StringRegExp() to extract the data. Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted October 19, 2010 Share Posted October 19, 2010 These two functions could be used then.._INetGetSource_StringBetween - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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