Hello Guest it is April 19, 2024, 10:23:24 PM

Author Topic: Run Script on startup  (Read 1088 times)

0 Members and 1 Guest are viewing this topic.

Run Script on startup
« 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?



Re: Run Script on startup
« Reply #1 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.
Chad Byrd