asym Posted October 18, 2010 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"
Scrippter Posted October 18, 2010 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
somdcomputerguy Posted October 18, 2010 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.
asym Posted October 19, 2010 Author Posted October 19, 2010 On 10/18/2010 at 3:55 AM, 'somdcomputerguy said: 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
Realm Posted October 19, 2010 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.
somdcomputerguy Posted October 19, 2010 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.
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