Jump to content
Sign in to follow this  

check a file / go to position / begin script again

Recommended Posts



for our firedepartment a want to handle a alarmfax (*.tif) with an ocr software.

my questions:

1. i have to check if there is a *.tif file in a directory all 5 seconds

when the file is there i want read at a special position a word.

2. when the word is "alarmfax" -> go to position xyz in the script

else go to the begin

3. how to beginn the script again?

with the ocr i want to read in 5 postions the words an save them in

files. this works now.

please answer me in a simple english :-)



Share this post

Link to post
Share on other sites

i have a tiny exemple for chech file ... but for ocr maybe i have few ideea but is much to worck with you need to learn about pixels... maybe else peoples know ..

exemple for chech file ..

While 1

IF FileExists("location.test.tif") Then
            MsgBox(0,"Detect ","file exist - and start the ocr modul ")

Share this post

Link to post
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
Sign in to follow this