Good morning All..
I'm playing with reactor..
and trying do to something like this..
(vl-load-com)
(vlr-command-reactor nil '((:vlr-commandEnded . endQCommand)))
(defun endQCommand (calling-reactor endquitInfo / EQP)
(setq EQP (nth 0 endquitdInfo))
(if (= EQP "QUIT") (alert "QUIT ended"))
)
But AutoCAD QUIT before showing the alert box...
same thing with commandCancelled and failed.
What i'm trying to do is to put some cad user information on a network drive before leaving AutoCAD.
Any help will be appreciated.
thanks.