Machsupport Forum

Third party software and hardware support forums. => LazyTurn => Topic started by: fasduser on June 11, 2020, 01:49:39 PM

Title: Protect Mach3 Addons
Post by: fasduser on June 11, 2020, 01:49:39 PM
I have been using the old Mach3 for years and have created some addons/wizard which I want to be run only on my machine.
The problem is that the code that the buttons run can be easily viewed by going to  >>>Operator>>>Edit button script  and then clicking the button.
Is there a way to protect my code from being stolen by others?
Title: Re: Protect Mach3 Addons
Post by: TPS on June 12, 2020, 06:35:36 AM
you can save your code in different macros let's say M400.m1s then you open this macro with Operator -> VBScript Editor and do a save as and choose filetype compiled.

then you edit your Buttons and run only the macro   -> Code "M400".

then you can store your M1s files somewhere else and delete them from macro Folder.