Simple AutoLISP routines can be recorded with AutoLISP file Macro.lsp, by George Omura.
How it works - play video showing the sequence of commands:
Download and install file:
After installation you can find Macro.lsp file in Program Files\AutoCAD R14\AEC folder (see picture below)
Add this folder in AutoCAD support file search path or add Macro.lsp in start up suite.