jloyzaga Posted December 15, 2015 Share Posted December 15, 2015 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 errorFunc _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 More sharing options...
aa2zz6 Posted December 15, 2015 Share Posted December 15, 2015 (edited) If you have the latest SciTE installed try pressing {CTRL} & {T} and it should correct the problem. Works fine now.Link to the latest editor.https://www.autoitscript.com/site/autoit-script-editor/downloads/ Edited December 15, 2015 by aa2zz6 jloyzaga 1 Link to comment Share on other sites More sharing options...
jloyzaga Posted December 15, 2015 Author Share Posted December 15, 2015 does it clean up all the Global const I have in code too? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now