I am running a .exe program using AHK.
The .exe is being ran in a loop as below. Each time I am putting one of the files from my folder into the exe program.
Code: Select all
loop Files, % folder . "\*." . file_extension
{
Run, C:\Program Files (x86)\MMK2\M61K2.exe
.....
}
I would instead like to just continue with the next file in the folder when it crashes. But I can't figure out how to do this.
Any guidance would be much appreciated
Thankyou