EControl Syntax Editor SDK
TecMacroRecorder.Play Method (ecString)

Plays macro with MacroName name.

function Play(const MacroName: ecString): Boolean; overload;

Returns true if:

  1. Macro with MacroName name is not nil;
  2. Macro has at least one event;
  3. Editor is assigned for the TecMacroRecorder instance (see SyntMemo property);
  4. If the macro is not a currently played macro.
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!