Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Nitromuse on July 16, 2012, 06:08:36 PM

Title: Macro won't run in MDI
Post by: Nitromuse on July 16, 2012, 06:08:36 PM
Hello world,
I've written a new macro that runs just fine from the script editor but won't run from the input in MDI like all the existing other .m1s files do.
Que pasa?
Thanks,
Title: Re: Macro won't run in MDI
Post by: ger21 on July 16, 2012, 07:04:41 PM
You'll need to post the macro  if you want someone to tell you why it's not working.
Title: Re: Macro won't run in MDI
Post by: Nitromuse on July 16, 2012, 07:55:27 PM
here's the macro at this point;
thanks again
Title: Re: Macro won't run in MDI
Post by: BR549 on July 17, 2012, 08:48:37 PM
You need to move your macro OUT of the M1-100 range. Mach sees it as an internal macro and cannot find it.

Nice macro by the way(;-)

(;-) TP
Title: Re: Macro won't run in MDI
Post by: Nitromuse on July 18, 2012, 06:36:57 AM
Thanks for the reply.  Actually I just tried renaming it to M22 instead if M2 and it ran fine from the MDI.  So there must be some reserved macro numbers, does anyone know if and where this is documented.  Thanks again,