[Closed] Best practice, MCR or fileIn script.MS
Hi!
As an end-user, I have seen these two methods around in the MaxScript community. The ones where you get an MCR file and then you have those with an MCR pointing to an MS file.
When I download MS files, I create an MCR that points to the script file when I need to put it in a toolbar for example.
What can you tell me about these two methods? Which is better, or which one has what benefit?
If I am willing to; should I turn all the MCR to MS files and load them with fileIn, or should I do the other way around, turn the MS to MCRs?
I prefer an MCR with filein an MS loader script which filein the actual code.
MCR > [filein] MS Loader > [filein] MS Code.
The main reason I started doing this is the MCR only needs to be loaded once. On top of that I can version my code or completely change the file name and it will still work. Finally, if the code is stored on a network server and I change the code, save a new version, update path in loader, save and on next run the users get the updated code.
-Eric
I understand the benefit of immediate change. I use macros.load to reload changes in a script.
Another benefit is to right-click on a Macroscript and see the script directly in the editor without the hassle to find it. Do you have a shortcut how you find your MS files that are fliein:ed in the MCR?