Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: matrix on October 26, 2018, 12:07:04 PM

Title: Run Script on startup
Post by: matrix on October 26, 2018, 12:07:04 PM


Hello, me again.

I'm in the process of upgrading from mach3 to mach4, and as I have many scripts in VB, I need to redo everything for Lua.

At this point I am still understanding the Lua syntax, and define how I am going to do this upgrade with the least possible effort.


So,
I created a script just for outgoing tests / inputs, messaging etc, and I recorded it with the name outputCheck.mcs on the macro folder, so far so good.

the strange thing is, every time I start mach4 this script runs once, if you turn off the mach 4 and start again the script run agains one time.

What's the secret, who knows?



Title: Re: Run Script on startup
Post by: Cbyrdtopper on October 26, 2018, 05:23:37 PM
I think mach runs through every macro on startup to make sure there are no errors in your macros.