Using the Script Assistant |
VB Scripting can be used in regular print-time operations or with Printer Code Modifier actions. The Script Assistant in
Script Composition Area. The contents and title of this data entry box varies based on how you open the Script Assistant and the type of Visual Basic Script you are creating:
Expression. The data entry box will be called Expression if you open the Scipt Assistant by selecting Visual Basic Script as the data source type on the Data Sources tab of the Object Properties dialog, and you select Single-Line Expression from the Type dropdown list.
Script. The data entry box will be called Script in the following circumstances:
If you open the Script Assistant by selecting Visual Basic Script as the data source type on the Data Sources tab of the Object Properties dialog, and you select Single-Line Expression from the Type dropdown list.
If you open the Script Assistant by selecting the Visual Basic Script button on the General tab of the Printer Code Template Setup dialog.
If you open the Script Assistant by selecting the Visual Basic Script button on the General tab of the
Event List. The data entry box will contain the name of the selected event in the following circumstances:
If you open the Script Assistant by selecting Visual Basic Script as the data source type on the Data Sources tab of the Object Properties dialog, and you select Event Control Scripts from the Type dropdown list.
If you open the Script Assistant from the VB Scripting dialog.
Protected. Password protects the selected VB Script. This option is available if the "Modify Protected VB Script(s)" option is selected in the
Sample. Displays the test output of print-time VB scripting when the Test button is clicked, unless Printer Code Modifier scripting is being performed.
Category. Lists categories of components from
Name. Displays the names of the Visual Basic components contained in the currently highlighted Category item.
Description. Displays the syntax and a summary of the Visual Basic component currently highlighted in the Name option. For more detailed help, click on the Visual Basic Help button to access Microsoft's full Visual Basic Script documentation. Alternatively, click
Test. Executes your script using sample data. The result will be displayed in the Sample section.
Insert. Takes the highlighted Visual Basic component from the Name option and inserts it into your VB Script.
Visual Basic Help. Accesses Microsoft's full Visual Basic help documentation.