CAD tip # 10647:
Question
But with the freeware application CADstudio AutoExec you can also use DWG drawings to store AutoLISP (resp. VisualLISP) macros, including .lsp, .fas, .vlx files. With the enabler module AutoExec.vlx loaded, you can then automatically load and execute macros stored in opened DWG files also on other computers. You can use it to define new commands related to the specific DWG file or to drawings based on a specific DWT template. Please note that the LISP file is just loaded by default. If you also want to run a specific function/command automatically, add it into the Exec field.
The AUTOEXEC command displays a list of macros available in the current drawing ("*" indicates my own macros). The Load function can read in another macro (a LSP/VLX file).
You can limit macro loading to those macros, which were stored (signed) by the same user.
More on AutoExec