jloyzaga

getting an old script to run

3 posts in this topic

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)
EndFunc

 

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

imageLib.au3

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