Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: cncmachineplans on September 05, 2015, 04:16:08 AM

Title: Xbox shillings, big tex screen, z touch M code
Post by: cncmachineplans on September 05, 2015, 04:16:08 AM
Hi guus
So i am using the big tex screenset, I am also using the xbox controller shillings plugin and I can assign the xbox controller button a macro, I want to assign the z touch off macro to one of the buttons,  but the xbox shillings plugin asks for an M# but when i go to edit button to have a look at what .m1s it is assign to its called hiddenscript.m1s, Am I missing something, how do I find the m code for this z touch of macro?

Thanks
Chris
Title: Re: Xbox shillings, big tex screen, z touch M code
Post by: ger21 on September 05, 2015, 06:17:07 AM
There is no M code for the macros in the Big Tex screenset. The macro's are embedded in the screenset.

You can copy the macro code and save it as an M code, and then edit the screenset to have the button call the M code instead of running the macro. This needs to be done in a screen editor.
Title: Re: Xbox shillings, big tex screen, z touch M code
Post by: cncmachineplans on September 05, 2015, 06:21:09 AM
Aaah ok well that makes sense, can i just put the script into notepad and save it as M##.m1s? And just put it in the macros folder and have the button call it or does it need to be embed into mach somehow?
Title: Re: Xbox shillings, big tex screen, z touch M code
Post by: ger21 on September 05, 2015, 02:11:59 PM
Yes. Save it in the Mach3\macros\yourprofile\ folder.

You need to change the button in a screen designer to call the M code, or use a macro like Code "M###".