Beginning a New Script Application

The instructions that follow provide the basic steps to begin a new script application.

Note: A VTS script application is one that is not based on the VTS layer, or on any other OEM layer, and therefore does not provide the user any access to the common VTS development tools and services that are accessible to a standard application (e.g. Display Manager, configuration toolbox and its tools, security, etc.) A script application is a "blank slate" that must be programmed from start to finish. Typically, script applications are created for the purpose of analyzing data or as utilities to perform custom tasks (such as converting databases). You must be a very accomplished VTS programmer in order to create a script application.

1.  Click the Add New button that appears in the VTS Application Manager (VAM). The Add New Application dialog opens.

2.  Select the Create New radio button (as shown above). The New Application Properties dialog opens.

3.  Enter a name for the application in the Name field.

4.  Press the Enter key on the keyboard. The Path field is automatically filled with the name of the application directory for this new application based on the application name you've entered minus the spaces. You may optionally modify this path.

5.  Choose Script Application from the Types drop-down list.

6.  Click the OK button. VTS generates the new script application, after which it will be referenced in the Available Applications list of the VAM.

Once you have completed the steps above, a new application directory is added to your VTS installation directory. Within this new application directory appear the following resources:

AppMod.src: The main application module file for your VTS application, listing all top-level variables and modules for the application.

GDI.wif: A specialized file type that indicates to VTS that this directory contains an application.

The content of these files are defined in the section that follows.

Note: The AppMod.src for a script application differs from the AppMod.src root file for a standard or layered application. Information on the latter is provided in AppMod.src Root File for a Standard Application.

Topics in this section:

Interpreting the AppMod.src File for a Script Application

Interpreting the GDI.wif File for a Script Application