Links
EControl Syntax Editor SDK
TecMacroRecorder Class

TecMacroRecorder maintains macros array and provides loading, saving and recording macros.

TecMacroRecorder = class(TSyntMemoPlugin, IUnknown, IecCommandHook);

ecMacroRec

Use Macros property to access a specific macro. 

Use Start, Stop and Cancel methods to control recording of new macros.

Topic 
Description 
The methods of the IecCommandHook class are listed here. 
TSyntMemoPlugin Class
Topic 
Description 
The properties of the TSyntMemoPlugin class are listed here. 
TecMacroRecorder Class
Topic 
Description 
The methods of the TecMacroRecorder class are listed here. 
The properties of the TecMacroRecorder class are listed here. 
The events of the TecMacroRecorder class are listed here. 
 
Method 
 
virtual 
 
Property 
 
protected 
 
read only 
 
Event 
TecMacroRecorder Class
TecMacroRecorder Class 
Description 
OnChange event occurs after record of a new macro is started, stopped or canceled. 
IecCommandHook Methods 
Description 
Called after execution in syntax memo. 
Called before execution in syntax memo. 
Called to test wether command is enabled. 
TecMacroRecorder Class
TecMacroRecorder Class 
Description 
Adds a macro at the end of the Macros list. 
Stop recording of the macro and deletes it. 
Creates and initializes a TecMacroRecorder instance. 
Calls the MacrosEdit dialog. 
Removes the macro at the position given by the Index parameter. 
Destroys an instance of TecMacroRecorder. 
Loads macros from the file. 
Loads macros from the Stream. 
Changes the position of a macro in the Macros array. 
Play 
 
Saves macros from the Macros array to the file with FileName filename. 
Saves macros from the Macros array to the Stream. 
Starts recording of a macro if AllowRecord is true. 
Stop 
Stops recording of the currently recorded macro and adds it to the Macros list. 
TSyntMemoPlugin Class
TSyntMemoPlugin Class 
Description 
Identifies the SyntaxMemo component associated with the TSyntMemoPlugin object. 
TecMacroRecorder Class
TecMacroRecorder Class 
Description 
Specifies whether execution of macros is allowed. 
Specifies whether recording of macros is allowed. 
Indicates the number of macros in the Macros array. 
Maintains the array of macros. 
Indicates whether macros were changed. 
Indicates whether some macro is played. 
Specifies whether some macro is currently recorded. 
Identifies the SyntaxMemo component associated with the TecMacroRecorder object. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!