Hello Guest it is April 19, 2024, 02:36:06 PM

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

0 Members and 1 Guest are viewing this topic.

Offline Shaom

*
  •  13 13
    • View Profile
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
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline Shaom

*
  •  13 13
    • View Profile
Re: ScreenScript.lua editing and saving
« Reply #2 on: November 15, 2019, 03:33:15 AM »
THANK YOU! Its working now!