Altova XMLSpy 2024 Enterprise Edition

Scripting Editor is a development environment built into XMLSpy from where you can customize the functionality of XMLSpy with the help of JScript or VBScript scripts. For example, you can add a new menu item to perform a custom project task, or you can have XMLSpy trigger some behavior each time when a document is opened or closed. To make this possible, you create scripting projects—files with .asprj extension (Altova Scripting Project).


Scripting Editor

Scripting projects typically include one or several macros—these are programs that perform miscellaneous custom tasks when invoked. You can run macros either explicitly from a menu item (or a toolbar button, if configured), or you can set up a macro to run automatically whenever XMLSpy starts. The scripting environment also integrates with the XMLSpy COM API. For example, your VBScript or JScript scripts can handle application or document events such as starting or shutting down XMLSpy, opening or closing a project, and so on. Scripting projects can include Windows Forms that you can design visually, in a way similar to Visual Studio. In addition, several built-in commands are available that help you instantiate and use .NET classes from VBScript or JScript code.


Once your scripting project is complete, you can enable it either globally in XMLSpy, or only for specific projects.


Scripting Editor requires .NET Framework 2.0 or later to be installed before XMLSpy is installed.

© 2018-2024 Altova GmbH