Hello
I can't find any info on my problem, so maybe someone run into this before
I have made a small script that runs at the end of a gcode program that will shut down Mach3 and then shutdown the PC running the machine, and I put this script in the milling macros folder under M697.
My problem is that when mach3 loads a gcode program with my M697 code at the end, it checks for errors and then activates the script in M697 which of course shut down the PC before the gcode has run.
Is there some way to stop Mach3 from executing the M697 script at the start so the gcode program can run first