I am using a for loop to make this happen 4 different times. The code purposely takes the input and divides by 4 and then puts 1/4 of the input into one control click, loops through 4 times to do all of the input.
ControlClick("Application", "", "", "left", "1", "1", "12") ;;;not the issue
Sleep(200)
ControlClick("Application", "", "", "left", "1", "38", "575") ;;;not the issue
Sleep(200)
ControlClick("Application", "", "", "left", "1", "763", "339") ;;;not the issue
Sleep(200)
For $x = 1 To 4 Step 1
ControlClick($ccd[0], $ccd[1], $ccd[2], $ccd[3], $in1, $1Loc[0], $1sLoc[1])
Sleep(200)
ControlClick($ccd[0], $ccd[1], $ccd[2], $ccd[3], $in2, $2Loc[0], $2Loc[1])
Sleep(200)
ControlClick($ccd[0], $ccd[1], $ccd[2], $ccd[3], $in3, $3Loc[0], $3Loc[1])
Sleep(200)
ControlClick("Application", "", "", "left", "1", "763", "339")
Sleep(200)
Next