Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: Shaom 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!
-
Hi,
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
-
THANK YOU! Its working now!