Author Login
Post Reply
I am building some utility methods for a script. Before the script is executed, a few variables are set by:
Binding binding = new Binding();
binding.setVariable("foo", valueOfFoo);
script.setBinding(binding);
Is there anyway I can get this binding from a static utility class so I can access these member variables?
Something like Script.getCurrentScript().getBinding().
Thanks,
Mark