Thx RenderMan
... if it needs to run on each drawing opened, consider adding your (command "cmdtest") call to your ACADDOC.lsp file.
but no luck.
I still have to launch it by typing cmdtest or (command "cmdtest")
Consider the load order at startup:
linky (http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/)QuoteA. CUI files loaded:
1. Enterprise
2. Main
3. Partials to Main
4. Partials to Enterprise
B. acad*.* files loaded:
1. Files listed in acad.rx
2. acad2009.lsp
3. acad.lsp <--
4. acad2009doc.lsp
5. acaddoc.lsp
6. acad.dvb
C. CUI-associated MNL and LSP files loaded:
1. Enterprise named MNL
2. Enterprise loaded LSP and MNL
3. Main named MNL
4. Main loaded LSP and MNL
5. Partials to Main named MNLs
6. Partials to Main loaded LSPs and MNLs
7. Partials to Enterprise named MNLs
8. Partials to Enterprise loaded LSPs and MNLs
D. Startup suite files loaded
E. Startup routines run:
1. AcadStartup() called (AutoCAD startup)
2. AcadDocument_Activate() called (Drawing startup)
3. (S::STARTUP) called
4. SCR loaded from /b switch