Jump to content

Read Text Data


asym
 Share

Recommended Posts

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

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 by Scrippter
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...