Good to know. Just to be clear, there is no way to run a script in one place, and export the variables so that they are available to the Tools? Trying to put an entire script in a single call is pretty messy/hacky.
Regardless, any hints on the script calls i'll need? So far, it appears something like this...
fc = GetProjectManager.GetActiveProject().GetFilesCount();
file_string = @""; //init empty string
// would prefer to use the squirrel foreach here, but then, if i could get the full list of files directly, i wouldnt have to do this anyway!
for(i=0;i<fc;i+=1)
{
file_string += GetProjectManager.GetActiveProject().GetFile(i).relativeToCommonTopLevelPath() +@" ";
}
but its not working in the console since it keeps complaining about TABLE indexes not existing... i think because the script console is stuck in a funky state. in the local scope, there is only a 'this' variable, which is a table... and its not letting me define any local variables because im stuck in a table apparently?