Page 1 of 1

run a script from a script

Posted: October 9th, 2007, 12:45 pm
by ajk48n
Is there any way to run a script from another script? I am trying to make a dockable panel that lists all the scripts that are available, and lets you run them.

Or, does this already exist? Is there anyway to see or run a list of scripts besides opening up the File, Script menu?

Thanks for any help

Re: run a script from a script

Posted: October 9th, 2007, 7:31 pm
by redefinery
ajk48n wrote:Is there any way to run a script from another script? I am trying to make a dockable panel that lists all the scripts that are available, and lets you run them.
just read the contents of the file into a string variable, then eval() it.
ajk48n wrote:Or, does this already exist?
two options that i know of:
rd: Script Launcher
Launch Pad

Script Launcher can look in nested folders. Launch Pad is more compact (icons). there might be other differences.

:jeff

Posted: October 10th, 2007, 7:13 am
by ajk48n
thanks for the help