Hello Guest it is March 28, 2024, 04:50:36 AM

Author Topic: Macros, Wizards, Plugins, and Brains  (Read 5598 times)

0 Members and 1 Guest are viewing this topic.

Macros, Wizards, Plugins, and Brains
« on: October 05, 2012, 10:49:54 AM »
Hello World,
I've written some very effective macros but now the time has come to lock them down.  Is there a way to compile a macro so it can't be seen or changed?  Assuming a 'no' answer what is the simplest way of accomplishing this, a wizard, plugin, or brain?  I program in VB.Net already.
Thanks for your help.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Macros, Wizards, Plugins, and Brains
« Reply #1 on: October 05, 2012, 11:13:21 AM »
You can compile the CB macros with the mach3 CB editor.

(;-) TP
Re: Macros, Wizards, Plugins, and Brains
« Reply #2 on: October 05, 2012, 11:22:16 AM »
but then it is still readable and changeable, isn't it

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Macros, Wizards, Plugins, and Brains
« Reply #3 on: October 05, 2012, 11:26:17 AM »
NOPE

Here is a sample of a Macro that was compiled.

(;-) TP
« Last Edit: October 05, 2012, 11:31:57 AM by BR549 »
Re: Macros, Wizards, Plugins, and Brains
« Reply #4 on: October 05, 2012, 11:32:07 AM »
OK, thanks, I'll give it a shot
Re: Macros, Wizards, Plugins, and Brains
« Reply #5 on: October 07, 2012, 02:55:07 PM »
BR549
When you speak of the CB Editor are you speaking of the VB Script Editor on the Operator tab?  If so, how do you get it to compile a .m1s file?  And how do you get a .mcc file to run from the MDI?
Thanks again for your help.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Macros, Wizards, Plugins, and Brains
« Reply #6 on: October 07, 2012, 04:10:15 PM »
YES the VB Script editor.   Save the files under the option SAVE AS then select *.MCC. 

Make sure you name it as a Mcode for example   M355.mcc

So should be able to then call it from the MDI line.

(;-) TP
Re: Macros, Wizards, Plugins, and Brains
« Reply #7 on: October 07, 2012, 04:29:40 PM »
Damn, I should have been able to figure that out!
Thanks once again.
Re: Macros, Wizards, Plugins, and Brains
« Reply #8 on: October 21, 2012, 01:56:28 PM »
Is it then possible to license these macros?

I have spent a lot of time developing a macro that I'd like to sell, but am worried about it spreading freely through the interwebs.


Re: Macros, Wizards, Plugins, and Brains
« Reply #9 on: October 21, 2012, 02:24:12 PM »
Licensing, is a good quesion, and one that I can't answer.  But if it can't be seen or edited it seems it's pretty safe.  Take the example above, copy it into your system and see if there is any way you can find to see/edit it.  I couldn't.
Good luck.