Vcl.DdeMan.TDdeClientConv.ExecuteMacroLines
Delphi
function ExecuteMacroLines(Cmd: TStrings; waitFlg: Boolean): Boolean;
C++
bool __fastcall ExecuteMacroLines(System::Classes::TStrings* Cmd, bool waitFlg);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.DdeMan.pas Vcl.DdeMan.hpp |
Vcl.DdeMan | TDdeClientConv |
Description
Sends a list of several macro commands to a DDE server application.
Call ExecuteMacroLines to send several macro commands to the server application. To send a single macro command, use ExecuteMacro instead. ExecuteMacroLines returns true if the macro list was successfully passed to the DDE server application. If ExecuteMacroLines is unable to send a list of command strings, it returns false.
Cmd contains the list of macros to be executed by the DDE server application. WaitFlg determines if this DDE client should wait until the DDE server application finishes executing all the macros before allowing another DDE transaction to be sent. If WaitFlg is set to true, subsequent calls to ExecuteMacro, ExecuteMacroLines, PokeData, PokeDataLines, and RequestData will fail until the DDE server application completes all of the macros.