Jump to content

Recommended Posts

Posted

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"

Posted (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 by Scrippter
Posted

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

Posted

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. 

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
  • Recently Browsing   0 members

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