ScriptSpot

Forum topic · General Scripting

diference between .ms and .mcr scripts

By jsrocha · 2013-03-25

Description

Hi guys, how´s going?
does anyone know the diference between .ms and .mcr script files? it seems to me that to make a shortcut (keyboard, toolbar or quad), the script must be a .mcr file, is that right? i think that because when i create a shortcut from a .ms file it always missed when i open max after closing it.
thanks in advance,

Jsrocha

Comments (1)

miauu · 2013-03-25

If your script starts with

 macroscript myMacro
category:"my category"
tooltip:"tooltip text" buttonText:"button text" 

then there is no difference what is the file type - ms or mcr. When you drag and drop(Maxscript - Run script) the max will create macros in the usermacros directory and you wull find the script in the Customize-Cistomize_user Interface-"my category".

Open the maxscript help file and search for
MacroScripts for New Users
You will read about the mcr and ms files.