Scripting Editor このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  プログラマーの レファレンス >

Scripting Editor

The Scripting Editor of StyleVision uses the Form Editor components of the Microsoft .NET Framework, and thus provides access to the Microsoft .NET Framework.


You can therefore create and use your own macros and forms to use in the Authentic View of the Altova products StyleVision, Authentic Desktop, Authentic Browser, and XMLSpy.


Note:Microsoft's .NET Framework 2.0 or higher is a system prerequisite for Scripting Editor, and it must be installed before StyleVision is installed.



The Scripting Editor

The Scripting Editor (screenshot below) opens in a separate window and is accessed via the Authentic | Edit Authentic Script menu command in the StyleVision GUI. It can also be accessed by selecting the Authentic Script item in the Design tab at the bottom of the GUI. The programming languages that can be used in the Scripting Environment are JScript and VBScript. The scripting language can be changed by right-clicking the Project item in the Project window, selecting Scripting Language, and selecting the language you want.





What you can do with the Scripting Editor

In the Scripting Editor, you can create Forms, Event Handlers, and Macros to build up a Scripting Project. The Scripting Project can be saved temporarily in memory, either by clicking the Save button or Save & Close button. The Scripting Project is saved with the SPS only when the SPS is subsequently saved. Scripts that have been created in the Scripting Project can then be used in the SPS design to produce effects in the Authentic View output.



Documentation about the Scripting Editor

The documentation describing the Scripting Environment (this section) is organized into the following parts:


An overview, which provides a high level description of the Scripting Editor and Scripting Projects.
A list of steps required to create a Scripting Project.
An explanation of Global Declarations, together with an example.
A description of how to create Forms.
A discussion of StyleVision-specific event handlers.
An explanation of how to use macros in the Scripting Editor and in StyleVision.


(C) 2019 Altova GmbH