Jump to content

getting an old script to run


jloyzaga
 Share

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

 

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

imageLib.au3

Link to comment
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
 Share

  • Recently Browsing   0 members

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