Dde poke – Xerox -05W User Manual
Page 230
![background image](/manuals/227049/230/background.png)
12-26
Creating A Script File
is the name of an integer variable (see var) into which an ID will be
placed reflecting the particular channel for the initiated DDE link. A
maximum of four channels may be used at any one time, each must
have a different variable name. This may be omitted if only one chan-
nel is to be used (i.e. only one DDE conversation is to be initiated),
and the channel ID will be set to 1.
is the name of a string variable into which a list of topics found for
the DDE partner will be placed. This may be omitted, but if included
it must be used in conjunction with
The system flag will be set to TRUE and the errno (error number) variable will be
set to 0 if the command is successful, or FALSE and an error number other than 0 if
the command failed.
Up to four DDE conversations will be permitted if a
When a DDE connection is successfully made, the
the ID of the conversation. If the connection was unsuccessful,
a value of 0 or -#, where # indicates the number of multiple sessions that would have
been started.
If
a list of strings relating to each individual session that would have been started. Each
entry in the list will be separated by a comma, as follows:
szAppName1|szTopic1,szAppName2|szTopic2
You can list the available topics for an application by specifying an empty string for
the
following example will cause a list of available topics for the application Excel to be
stored in the variable ExcelTopics:
dde initiate "Excel" "" channel ExcelTopics
DDE POKE
Syntax: DDE POKE
Sends a poke to the DDE partner, placing data contained in a variable into a specified
item, where
is the name of the variable which contains the information to be
placed.
is a string containing the name of the item where the information is to
be placed.
is the name of the integer variable identifying the particular channel
for the DDE link if specified by the dde initiate command, otherwise
this is omitted.