Next: , Previous: , Up: Macros Commands   [Contents][Index]


4.6.5 SaveMacro

Syntax: SaveMacro [filename]
Abbreviation: SM

saves the current macro in a file with the given name.

If the optional filename argument is not specified, the file requester is opened, and you are prompted to select a file. (You can inhibit the file requester opening by using the NoFileReq command; see NoFileReq.)

If you escape from the file requester, you can input the file name on the command line.

SaveMacro is of course most useful for saving macros you just recorded. The macros can then be loaded as normal text files for further editing, if necessary. Note that SaveMacro converts InsertChar commands into a possibly smaller number of InsertString commands. This makes macros easier to read and edit. See InsertChar, and InsertString.