CaptainBeardsEyesBeard Posted August 16, 2018 Posted August 16, 2018 I'm trying to do something like this Func ClickThroughBoxes(int $X, int $Y)MouseClick($MOUSE_CLICK_MIDDLE, $ArrayForY[$X],$ArrayForX[$Y], 1)EndFunc But get this from compiler C:\Elite MI Reports Automation\Framework\Functions\Functions.au3 (7) : ==> Badly formated variable or macro.:Func ClickThroughBoxes(string $X, string $Y)Func ClickThroughBoxes(string ^ ERROR
FrancescoDiMuro Posted August 16, 2018 Posted August 16, 2018 AutoIt variables don't need to be any type declaration. Remove the variable type from your declarations, and you're done Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
CaptainBeardsEyesBeard Posted August 17, 2018 Author Posted August 17, 2018 oh silly me. Thanks a lot
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