Notifications
Clear all

[Closed] reload

I’ve tryed to find out how to make max to reload the scripts and macros in stdplugins/stdscripts or ui/macroscritps, without having to restart max, but i can’t find any way.

someone knows?

thanks.

2 Replies

there’s normally no need to – and there’s really no telling what happens if you try to reload them; some scripts don’t like being loaded twice, others have specific code that prevent themselves from being loaded twice that thus also prevent themselves being update, etc.)

But presumably you could do something like…


 stdscripts = getFiles "$max\\StdPlugs\\StdScripts\\*.*"
 for f in stdScripts do ( filein f )
 

… same for any other folders

 JHN

I know for a fact reloading VFB_methods.ms in stdScript is a very bad idea!

-Johan