Notifications
Clear all

[Closed] How to make a simple .ms button?

Hello guys

I downloaded a bunch of useful scripts but its annoying to always load them manualy if I need them…it would be nice if I could make a simple button in a custom toolbar to load up specific script…so, how to do that?

I am not familiar with maxscript and even dont know the basics etc…just want to create a simple button for .ms scripts.

Thanks in advance.

2 Replies

you can either write a custom macro script or paste the following to your listener, select it and drag it to a toolbar. It will automatically create a macroscript (listed under “Drag and Drop” category)


filein @"c:/scriptpath/scriptname.ms"

Kind Regards,
Thorsten

thank you very much Thorsten! Everything works perfect now.
I also found a second method: Just placing following code on top of the .ms script:


macroScript “Scriptname”

     category:"Scriptcategory"

     toolTip:"Tooltip Name"

but your method is much better

Best Regards,

Serdar