On Monday 23 February 2004 01:38, Donald Hansen wrote:
The only way that I am able to write a new macro is to load an
existing macro, delete its contents, write the new macro and save it
with a different name. Is it possible to use the Mach 2 editor to
write and save new macros?
I have a more fundamental problem with macros ... they keep getting
overwritten. Also .. I find the having 2 sets of them M5.tis M5.mis a bit
weird ... I'm forever editing the worng one .. what I think answers this
problem and neatens up the layout a bit is: use directories.
so ..
mach2/
macros/
mill/
M3
M5
etc
lathe/
M3
M5
etc
plasma/
M3
M5
etc
OEM/
etc
the machine XML file could specify which directory was to be used to look for
the macros, if you wanted to write some new ones and be sure they werent
over written when you upgraded then just create a new directory and tell
mach2 to use that. this woudl be especially useful for OEM's where I'd like
to send update CD's out, but I know that I have lots of modified macros and
they get over written ... there is now enough specialist macros kicking about
that some one is going to get bitten and losing code you have written really
sucks :)
I keep mentioning this idea ... I haven't had a comment from Art yet .. I
guess that means he don;t like it ;)
--
RapidCut CNC Technology
CNC Plasma Cutter