Macro Scheduler 15

DDERequest

DDERequest>Server,Topic,Item,Result,Timeout

 

Requests data from a DDE server.  The data returned is stored in the Result variable.  If the conversation does not complete within the Timeout value specified, Result will contain 'DDE_TIMEDOUT'.  The Timeout value is in seconds.

 

Abbreviation : DRQ

See also: DDEPoke

 

Example

 

The following example gets the URL and window title from Netscape.

 

DDERequest>Netscape,WWW_GetWindowInfo,0xFFFFFFFF,ret,10

Message>ret

 

The DDERequest command can also be used to open a web page in Netscape :

 

DDERequest>Netscape,WWW_OpenUrl,www.mjtnet.com,ret,0