MacroName Property (Read/Write)

Top  Previous  Next

Returns the name of the macro loaded. Sets the macro to be loaded from the TnbProfiles or a file. You can have one file for each macro, or one file containing several macros.

 

Visual Basic Syntax

 

TNBMacro.MacroName [= String]

 

Delphi Syntax

 

TNBMacro.MacroName [:= String];

 

 

Remarks

 

If you have assigned the TnbProfiles property to a TNBProfiles component, you can retrieve a specific macro by its name using this property. Otherwise, the MacroName property must specify a valid filename containing a macro previously saved.

 

See Also TnbProfiles property, StopRecording and StartPlaying methods.