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

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

  • Create New...