Machsupport Forum

Mach Discussion => Mach Screens => Machscreen Screen Designer => Topic started by: kjlpdx on February 19, 2014, 03:47:30 PM

Title: how do i make VB script changes stay?
Post by: kjlpdx on February 19, 2014, 03:47:30 PM
my script is in a separate file.  under operator/edit button script I open it, make changes.  I save it, I save as hidden script, I save as back to my file.  next time I open mach3 the old version is back.  I tried rebooting and that didn't seem to make a difference.  I've made it work before, but now can't repeat the process.
Title: Re: how do i make VB script changes stay?
Post by: ger21 on February 19, 2014, 09:58:49 PM
Quote
my script is in a separate file.

If you're using "Edit Button Script", then the script is saved in the screenset, not in a separate file.

Hiddenscript.m1s is a temp file used for editing button scripts.

When using Edit Button Script, just choose File > Save and answer yes to the prompt about Hidden Script and your script should be saved in the screenset.
Title: Re: how do i make VB script changes stay?
Post by: kjlpdx on February 19, 2014, 10:25:39 PM
thank you.  it is very confusing when "save as" asks if you want to replace existing code, but save doesn't.  then the whole "hidden" thing adds to WTF?