multiple script/macros folder?

multiple script/macros folder?

didiertido
Participant Participant
1,714 Views
1 Reply
Message 1 of 2

multiple script/macros folder?

didiertido
Participant
Participant

By default max has 2 scripts/macros folders, one in the 3ds root folder and one inside ENU.
is there a way to add a third?

I want to start a repo for my scripts and that means having my own folders without having to copy from PC to PC everytime I make a change. Also, easier installs.

 

can't point max directly to my folders because vray and other plugs are using that folder, I might try to move all that to the 3ds max/scripts folder but that's far from ideal for every PC I install because every time I modify a macro from the UI it moves it to the usermacros folder.

 

I tried doing the macros.load but every time I restart all my buttons go missing.

 

Thanks!

0 Likes
1,715 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

I don't know if you can create additional script search folders, but you could try experimenting with installing a "base script" on the local machine that calls your actual scripts that are in another location.

 

For example, in your 3ds max\scripts\startup folder you have a file "myToolsMenu.ms".  This script file could launch a UI upon 3ds Max startup.  When a user pressed a button in the UI it can run another script from anywhere using the "filein" command.  You could even make it "smart" and have it populate the UI based on what scripts it finds in your specified locations.