Notifications
Clear all

[Closed] macros.load for loading via network?

I wonder if anyone has created a network-script-loading setup.

I’m trying to setup a network folder to control the loading of 3rd-party scripts on multiple machines. I’ve got it mostly working, but I can’t seem to get the local \scripts\startup MS file to call a network .MS file, which in turn calls the actual 3rd-party scripts.

The local script on each machine looks like this:

macros.load "Y:\\Apps\\3D\\3dsmax\\plugins_scripts\\scripts_loader\\"

The network script is in this directory:
[i]Y:\Apps\3D\3dsmax\plugins_scripts\scripts_loader[/i]
And looks like this:

 
macros.load "Y:\\Apps\\3D\\3dsmax\\plugins_scripts\loadscripts\\WhatifOpocScripts\\"
-- macros.load "Y:\\Apps\\3D\\3dsmax\\plugins_scripts\loadscripts\\BlurScripts\\"
macros.load "Y:\\Apps\\3D\\3dsmax\\plugins_scripts\loadscripts\\Chuggnut\\"
(etc.)

I want to do it this way because I’d like to be able to control which scripts are loaded on all the machines, by using/removing the double-hyphens in a single network file, rather than having to update each user’s startup script. But I can only get one level of macros.load to work, the only way seems to be to to put the network script local instead.

Maybe the macros.load function can’t load itself?

2 Replies

Hmm, I fixed the missing extra backslashes in the second script. My bad.

But that didn’t fix it, still won’t load.

Hope someone has some ideas…

Rather than calling macros.load in the local script, use fileIn.

RH