Send custom commands, Load variable data, Save variable data – QuickLabel NiceWatch User Manual

Page 48

Advertising
background image

Working with Triggers

48

NiceWatch User Guide

the label to the specified printer. See the chapters in the section Automating the
Software
.

File Name: You can set a fixed command file name or let some variable define it.

Condition: This is a Visual Basic Script boolean expression. Only two results are
possible (True and False). Use this option to enable current action only when some term
is met. The action will be started only if condition returns True as the result of the
expression.

Send Custom Commands

Send the defined list of NiceCommands to the print engine for execution.

Commands: Enter the NiceCommands in the text area.

Edit: Click on the Edit button to open the Expression Editor that will help you define the
script of custom commands.

You can also include variables in the commands. Just type in the variable name and
enclose it with the square brackets.

For example:
To print the number of labels as specified in the variable Quantity, the print command
should look like PRINT [Quantity]

Condition: This is a Visual Basic Script boolean expression. Only two results are
possible (True and False). Use this option to enable current action only when some term
is met. The action will be started only if condition returns True as the result of the
expression.

Note:
For more information about NiceCommands refer to the help or User Guide.

Load Variable Data

This action reads the data from the text file and sets values to the variables on the form.

File Name: Specify the name of the text file with data. It can be fixed or variable.

Advanced Options: Click on this button to select variables you want to load from the
text file and define the structure of the text file.

Condition: This is a Visual Basic Script boolean expression. Only two results are
possible (True and False). Use this option to enable current action only when some term
is met. The action will be started only if condition returns True as the result of the
expression.

Save Variable Data

This action saves the data from the variables to the text file.

File Name: Specify the name of the text file with data. It can be fixed or variable.

Advertising