I have a macro I've written and I'd like it to run when a file is loaded into Mach3.

Is that possible?

If yes, any tips on how to get Mach3 to run the macro when a file is loaded? Like, what would the macro need to be named? And how to instruct Mach3 to run it?

If that isn't possible, it would be okay to run the macro when the user clicks "Cycle Start." I had this working before but reloaded my PC and now it doesn't work. The file is named M1000.M1S and it is in the proper macros folder but when I click on Cycle Start, it just starts the cycle.

I think last time I had to "tell" Mach3 to run the Macro on the button click but not sure how that was accomplished.

Basically I've re-written my LazyCAM Z-Optimizer as a macro and would like to post it on my website for free downloads, but also provide some instructions for installing it. So any help would be appreciated.