34.8. Scripting

Language Enhancements

The instanceof operator is now fully supported for Java Script. The instanceof operator tests whether the certain metaclass appears anywhere in the prototype chain of an object.

Editor Enhancements

All open built-in script editors are automatically saved before script execution. That way it is ensured that unsaved modifications are considered during execution. This is an opt-out option that is enabled by default.

Engine Alignment

The scripting support for "batch scripts" (scripts run via the user interface, "Execute" menu) and derived profile properties, have been further aligned. Access to vital objects as "Metamodel" and "Finder" are now available also in profile scripting. Furthermore other script files can be loaded to share script snippets.