Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: vss on May 23, 2006, 02:52:00 PM
-
I have a fairly long and busy set of vbscript programming behind two of my buttons. I was wondering if there is a way to call or reference a file that contains that code versus pasting it all behind the button. Anyone know how I would do this? Also, I would like to hide the vbscript from someone using the screen designer to review my screen pages. Is there a way to do this as well?
Thanks...
-
You could put your VB code into an Mcode and call the Mcode from the button... IS that what you are looking for?
-
The M code sounds good. Is there then a way to put all the code for the M command into one file that can be included with my installation? Essentially one central place where all of this can be placed, and essentially hidden from the typical user. I want to make it easy to use, and hard to screw up.
-
You have to put the macro in the Mach3/macros/mach3Mill folder.. you can hide the Macro with windows
hope that helps
Brian