The available global variables for each type of script are described in the following sections:
The global variables behave identically in both the Jython and DynamicJava languages in that you call methods on these objects in the standard way. Methods may return objects that can be further processed. For example, a component customization script has access to the prop = component.getProperty('script') prop.getValueObj().setValue('# a new, empty script') In this script, In the script editor interface, global variables are always shown as underlined to make it clear that they are not standard script variables or parameters. Do not assign a new value to a global variable. For example: localDir = new File("foo/bar"); // Don't do this! |