So I see from this thread:
that we’ll have global script modules in 7.7, which I am all for.
Additionally, I’d be happy to see an overloaded version of runScript() that looks something like this:
Essentially, the ability to pass arguments as either enumerated arguments or as a list to a python function. And then on the Python end, the equivalent of command line arguments:
Probably to simplify things it would be
and the python function
someVar = lst
It would then be up to the Expression implementation actually construct the function call.
To explain why I want this feature… passing in arguments with the current runScript() function can be pretty convoluted, especially if they are coming from a tag. This would make that process cleaner and more readable.