Well, here's how I would do it....
I'm a fledgling, take this for what it's worth, and i'm not sure that's too much but alas...
(getvar "dwgprefix")
"C:\\Users\\bhull\\Documents"
That's how you can check from within a drawing if it's in that folder of dwgs being updated.
You would find the acaddoc.lsp file in the support directory it's something like crogram files/autodesk/autocad/support
That file is MODIFIED, as in, double click on it, it brings up notepad or asks you which program to use to open that file. Tell it notepad.
You would include portions of code that
Code:
(setq path "C:\\Where\\Your\\Folder\\Is\\") ;set a variable 'path' to contain your path information
(if (= (getvar "dwgprefix") path) ;if the value returned by (getvar "dwgprefix") is equal to that of your path variable
(alert "WARNING: THIS DRAWING IS CURRENTLY BEING UPDATED, DO NOT MAKE CHANGES") ;alert method alternative to yours above
) ;close if
You could put this within the acaddoc.lsp file that's *ALREADY ON YOUR MACHINE* it comes with every autocad already there.
Open it, put that within it.
You will need to ensure that this is checked so that your system is set to load acaddoc.lspop.jpg
LISPINIT=1
that's a system variable
I'm not as experienced as many others but I hope that helps you get what you were looking for