Xerox -05W Printer User Manual


 
12-25
Creating A Script File
<destvar> <sourcevar> Result
integer string <destvar> will contain the ASCII decimal value
of the first character in <sourcevar>.
integer float <destvar> will contain the result of rounding
the floating point number in <sourcevar> to
the nearest integer.
float integer <destvar> will contain the floating point number
equivalent of the integer in <sourcevar>.
DDE CANCEL
Syntax: DDE CANCEL [<channel>]
Cancels the DDE conversation on the channel specified by the <channel> variable
(as defined by the dde initiate command). If no channel variable is specified then the
channel ID is assumed to be 1. More than one channel variable may be specified on
the same line. The system flag will be set to TRUE if the command is successful, or
FALSE if failed.
DDE EXECUTE
Syntax: DDE EXECUTE <instructions> [<channel>]
This command specifies a list of instructions that the DDE partner should perform,
where
<instructions> is either a string delimited by single quote characters containing the
instructions, or a string variable (excluding single quotes).
<channel> is the name of the integer variable identifying the particular channel
for the DDE link if specified by the dde initiate command, other-
wise this is omitted.
The following example will cause an Excel file called expenses.xls to be opened on
channel 1:
dde execute '[open("h:\excel\excelcbt\expenses.xls")]' channel1
DDE INITIATE
Syntax: DDE INITIATE <app> <topic> [<channel> <ddelist>]
This command starts a dynamic data exchange (DDE) conversation between
TeemTalk and an application, where
<app> is a string specifying the name of the DDE partner (i.e. the
application).
<topic> is a string specifying the name of a topic for the DDE partner.