Jump to content

getting an old script to run

Recommended Posts


I was trying to get autoit and webdriver to work and found an old script that did some of what I want - yet it didn't compile and I'm not surehow old it is and why it failed with this error

Func _ImageSearch($findImage,$resultPosition,ByRef $x, ByRef $y,$tolerance)

error: missing separator character before keyword.
   return _ImageSearchArea($findImage,$resultPosition,0,0,@DesktopWidth,@DesktopHeight,$x,$y,$tolerance)


The script is attached - can anyone explain why its an error?


Share this post

Link to post
Share on other sites

does it clean up all the Global const I have in code too?

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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.