Calling an au3 file from another au3 file seems a bit redundant. Could you just copy the code you need from the au3 file to the same file and then put it in a loop? For example, the next ode will run the code 10 times.
For $i = 1 to 10 ;Code from file2.au3 MsgBox(0,"", $i) Next MsgBox(0,"", "Done!")
source share