EControl Syntax Editor SDK
TecMacroRecorder.Play Method (integer)

Plays macro with MacroIndex index.

function Play(const MacroIndex: integer): Boolean; overload;

Returns true if:

  1. Macro with MacroIndex index 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!