Script Editor user interface

This topic provides an introduction to the user interface for the script editor.

To open the script editor, do one of the following:

  • From the View menu select Show Script.

  • Choose Show Script from the projects or class context menu.

  • Click the Show Script icon in the toolbar.

An image that shows the Script Editor user interface

1

Menu

2

Toolbar

3

Immediate, Watch, and Stack panes.

Additional windows are used during debugging to list variables, functions, or expressions that are calculated and displayed. For further information, see the script editor help.

4

Context-menu

5

Object and Proc lists

The Object and Proc lists show the objects and procedures that are available for the selected class.

Select an item from the Object list such as "Document," to implement a document extraction event. To implement a field extraction event, select the name of the extraction field. To implement a locator method for a field extraction, select the name of the locator.

From the Proc list, choose the event you are implementing. For example, select "Field1" from the Object list and After_Extract from the Proc list. This inserts the Field1_AfterExtract event into the selected sheet. To insert a classification event change to the project level. To do this, first switch to sheet 1 and select "Document" in the Object list and, for example, AfterClassifyImage in the Proc list to insert the Document_AfterClassifyImage event. For further information concerning the user interface, see the script editor help.

6

Sheets Tab

aa sheet is provided in the script editor that contains the script code for the class or the folder. The project script is always in the first script sheet. The editor can show up to ten different sheets. The first sheet always shows the script code on the project-level where you implement the classification events. you can use the other sheet tabs to display the script code for all classes of the project, containing the events that occur during the extraction and for the script locator. Click on a sheet tab to show the script code area for a class. Double-click the tab to close the script code area for the class.

7

Edit area

8

Status Bar