set_additional_paths

set_additional_paths(locations) copy to clipboard

set additional locations to search for libraries.

Parameters
Result

script : me

Example
tell script "ModuleLoader"
set_additional_paths({"/yourhome/Library/Scripts", "/Library/Scripts"})
module_paths()
-- {"/yourhome/Library/Scripts", "/Library/Scripts", "/Users/yourhome/Library/Scripts/Modules", "/Users/yourhome/Library/Script Libraries", "/Library/Scripts/Modules", "/Library/Script Libraries", "/Network/Library/Scripts/Modules", "/Network/Library/Script Libraries"}
end tell