Hello Guest it is January 26, 2020, 10:53:14 PM

Author Topic: ScreenScript.lua editing and saving  (Read 151 times)

0 Members and 1 Guest are viewing this topic.

ScreenScript.lua editing and saving
« on: November 15, 2019, 03:00:55 AM »
Hello i have a big problem with editing ScreenScript.lua.
After i made and save changes, everytime i restart mach4 it is replacing with original version.
There isnt any changes i made to a file :(
How to edit this script that will works after program restart.
Sorry for my english. THANK YOU for you help!
Re: ScreenScript.lua editing and saving
« Reply #1 on: November 15, 2019, 03:21:48 AM »
Hi,

Quote
Hello i have a big problem with editing ScreenScript.lua.

The reason is because  ScreenScript.lua is NOT editable. When Mach fires up all the scripts, like the Screen Load script, the PLC
script, macros etc get complied and bundled into one great big script....you guessed it....... ScreenScript.lua It is compiled and that
is the code that runs.

If you want to change it you must go back to the Screen Load script or Macro or what-have-you and change it there.

Craig
My wife left with my best friend...
     and I miss him!
Re: ScreenScript.lua editing and saving
« Reply #2 on: November 15, 2019, 03:33:15 AM »
THANK YOU! Its working now!