<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Still looking for a shutting down reactor.... in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812286#M161258</link>
    <description>Hi Gang,&lt;BR /&gt;
I'm hoping somebody has found one now.....&lt;BR /&gt;
&lt;BR /&gt;
I've got document reactors running that sense a jump between drawings.&lt;BR /&gt;
(MDI).  What I'm looking for is a way to STOP those reactors when a user&lt;BR /&gt;
does something that causes the system to exit AutoCAD.  A good one is when&lt;BR /&gt;
the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&lt;BR /&gt;
(My document reactors tell the user when they switch to a "RAW" drawing&lt;BR /&gt;
versus a drawing that has been configured with project number and such.  We&lt;BR /&gt;
want to alert the user to this fact. Right now, you shut down Acad.  The&lt;BR /&gt;
system will continue to display the warnings until all documents have been&lt;BR /&gt;
shut down.)&lt;BR /&gt;
&lt;BR /&gt;
Anybody have any ideas?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Nick&lt;BR /&gt;
Env:  A2K/VC6/W2K</description>
    <pubDate>Thu, 13 Jan 2000 18:17:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2000-01-13T18:17:48Z</dc:date>
    <item>
      <title>Still looking for a shutting down reactor....</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812286#M161258</link>
      <description>Hi Gang,&lt;BR /&gt;
I'm hoping somebody has found one now.....&lt;BR /&gt;
&lt;BR /&gt;
I've got document reactors running that sense a jump between drawings.&lt;BR /&gt;
(MDI).  What I'm looking for is a way to STOP those reactors when a user&lt;BR /&gt;
does something that causes the system to exit AutoCAD.  A good one is when&lt;BR /&gt;
the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&lt;BR /&gt;
(My document reactors tell the user when they switch to a "RAW" drawing&lt;BR /&gt;
versus a drawing that has been configured with project number and such.  We&lt;BR /&gt;
want to alert the user to this fact. Right now, you shut down Acad.  The&lt;BR /&gt;
system will continue to display the warnings until all documents have been&lt;BR /&gt;
shut down.)&lt;BR /&gt;
&lt;BR /&gt;
Anybody have any ideas?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Nick&lt;BR /&gt;
Env:  A2K/VC6/W2K</description>
      <pubDate>Thu, 13 Jan 2000 18:17:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812286#M161258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T18:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Still looking for a shutting down reactor....</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812287#M161259</link>
      <description>How about this? In the CommandWillStart reactor, if the command us "QUIT",&lt;BR /&gt;
you call (vl-bb-set 'ShutDown T). In your document reactor, you call&lt;BR /&gt;
(vl-bb-ref 'ShutDown) in an if statment to decide whether to excecute the&lt;BR /&gt;
rest of your code. If need be, you can place a balancing call to (vl-bb-ref)&lt;BR /&gt;
in the commandCancelled reactor in case the user decides to cancel the&lt;BR /&gt;
shutdown. Then your drawing reactors will still function the way you&lt;BR /&gt;
designed them.&lt;BR /&gt;
&lt;BR /&gt;
"Nick Jacobs" &lt;JACOBS&gt; wrote in message&lt;BR /&gt;
news:85l4tt$kbm2@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; Hi Gang,&lt;BR /&gt;
&amp;gt; I'm hoping somebody has found one now.....&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I've got document reactors running that sense a jump between drawings.&lt;BR /&gt;
&amp;gt; (MDI).  What I'm looking for is a way to STOP those reactors when a user&lt;BR /&gt;
&amp;gt; does something that causes the system to exit AutoCAD.  A good one is when&lt;BR /&gt;
&amp;gt; the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; (My document reactors tell the user when they switch to a "RAW" drawing&lt;BR /&gt;
&amp;gt; versus a drawing that has been configured with project number and such.&lt;BR /&gt;
We&lt;BR /&gt;
&amp;gt; want to alert the user to this fact. Right now, you shut down Acad.  The&lt;BR /&gt;
&amp;gt; system will continue to display the warnings until all documents have been&lt;BR /&gt;
&amp;gt; shut down.)&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Anybody have any ideas?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; Nick&lt;BR /&gt;
&amp;gt; Env:  A2K/VC6/W2K&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JACOBS&gt;</description>
      <pubDate>Thu, 13 Jan 2000 19:23:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812287#M161259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T19:23:42Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812288#M161260</link>
      <description>Humm.... I wonder if the "X" fires a "QUIT" or if it tells the application&lt;BR /&gt;
to do something else.... I'll look into that....&lt;BR /&gt;
&lt;BR /&gt;
In any case, thanks for responding!!!!!!!!&lt;BR /&gt;
&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;BR /&gt;
"Frank Oquendo" &lt;FRANKO&gt; wrote in message&lt;BR /&gt;
news:85l902$kc12@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; How about this? In the CommandWillStart reactor, if the command us "QUIT",&lt;BR /&gt;
&amp;gt; you call (vl-bb-set 'ShutDown T). In your document reactor, you call&lt;BR /&gt;
&amp;gt; (vl-bb-ref 'ShutDown) in an if statment to decide whether to excecute the&lt;BR /&gt;
&amp;gt; rest of your code. If need be, you can place a balancing call to&lt;BR /&gt;
(vl-bb-ref)&lt;BR /&gt;
&amp;gt; in the commandCancelled reactor in case the user decides to cancel the&lt;BR /&gt;
&amp;gt; shutdown. Then your drawing reactors will still function the way you&lt;BR /&gt;
&amp;gt; designed them.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Nick Jacobs" &lt;JACOBS&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:85l4tt$kbm2@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; Hi Gang,&lt;BR /&gt;
&amp;gt; &amp;gt; I'm hoping somebody has found one now.....&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I've got document reactors running that sense a jump between drawings.&lt;BR /&gt;
&amp;gt; &amp;gt; (MDI).  What I'm looking for is a way to STOP those reactors when a user&lt;BR /&gt;
&amp;gt; &amp;gt; does something that causes the system to exit AutoCAD.  A good one is&lt;BR /&gt;
when&lt;BR /&gt;
&amp;gt; &amp;gt; the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; (My document reactors tell the user when they switch to a "RAW" drawing&lt;BR /&gt;
&amp;gt; &amp;gt; versus a drawing that has been configured with project number and such.&lt;BR /&gt;
&amp;gt; We&lt;BR /&gt;
&amp;gt; &amp;gt; want to alert the user to this fact. Right now, you shut down Acad.  The&lt;BR /&gt;
&amp;gt; &amp;gt; system will continue to display the warnings until all documents have&lt;BR /&gt;
been&lt;BR /&gt;
&amp;gt; &amp;gt; shut down.)&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Anybody have any ideas?&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; &amp;gt; Nick&lt;BR /&gt;
&amp;gt; &amp;gt; Env:  A2K/VC6/W2K&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JACOBS&gt;&lt;/FRANKO&gt;</description>
      <pubDate>Thu, 13 Jan 2000 19:36:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812288#M161260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T19:36:01Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812289#M161261</link>
      <description>What's not to respond? If I'm wrong, it was free in the first place. If I'm&lt;BR /&gt;
right, I come up nice and shiny! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
"Nick Jacobs" &lt;JACOBS&gt; wrote in message&lt;BR /&gt;
news:85l9gh$kcv9@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; Humm.... I wonder if the "X" fires a "QUIT" or if it tells the application&lt;BR /&gt;
&amp;gt; to do something else.... I'll look into that....&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; In any case, thanks for responding!!!!!!!!&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Nick&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Frank Oquendo" &lt;FRANKO&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:85l902$kc12@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; How about this? In the CommandWillStart reactor, if the command us&lt;BR /&gt;
"QUIT",&lt;BR /&gt;
&amp;gt; &amp;gt; you call (vl-bb-set 'ShutDown T). In your document reactor, you call&lt;BR /&gt;
&amp;gt; &amp;gt; (vl-bb-ref 'ShutDown) in an if statment to decide whether to excecute&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; rest of your code. If need be, you can place a balancing call to&lt;BR /&gt;
&amp;gt; (vl-bb-ref)&lt;BR /&gt;
&amp;gt; &amp;gt; in the commandCancelled reactor in case the user decides to cancel the&lt;BR /&gt;
&amp;gt; &amp;gt; shutdown. Then your drawing reactors will still function the way you&lt;BR /&gt;
&amp;gt; &amp;gt; designed them.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Nick Jacobs" &lt;JACOBS&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:85l4tt$kbm2@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Hi Gang,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I'm hoping somebody has found one now.....&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I've got document reactors running that sense a jump between drawings.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (MDI).  What I'm looking for is a way to STOP those reactors when a&lt;BR /&gt;
user&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; does something that causes the system to exit AutoCAD.  A good one is&lt;BR /&gt;
&amp;gt; when&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (My document reactors tell the user when they switch to a "RAW"&lt;BR /&gt;
drawing&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; versus a drawing that has been configured with project number and&lt;BR /&gt;
such.&lt;BR /&gt;
&amp;gt; &amp;gt; We&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; want to alert the user to this fact. Right now, you shut down Acad.&lt;BR /&gt;
The&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; system will continue to display the warnings until all documents have&lt;BR /&gt;
&amp;gt; been&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; shut down.)&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Anybody have any ideas?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Nick&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Env:  A2K/VC6/W2K&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JACOBS&gt;&lt;/FRANKO&gt;&lt;/JACOBS&gt;</description>
      <pubDate>Thu, 13 Jan 2000 20:09:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812289#M161261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T20:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Still looking for a shutting down reactor....</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812290#M161262</link>
      <description>Nick - Use VLR-DocManager-Reactor to detect opening/closing.&lt;BR /&gt;
&lt;BR /&gt;
Nick Jacobs wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Hi Gang,&lt;BR /&gt;
&amp;gt; I'm hoping somebody has found one now.....&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I've got document reactors running that sense a jump between drawings.&lt;BR /&gt;
&amp;gt; (MDI).  What I'm looking for is a way to STOP those reactors when a user&lt;BR /&gt;
&amp;gt; does something that causes the system to exit AutoCAD.  A good one is when&lt;BR /&gt;
&amp;gt; the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; (My document reactors tell the user when they switch to a "RAW" drawing&lt;BR /&gt;
&amp;gt; versus a drawing that has been configured with project number and such.  We&lt;BR /&gt;
&amp;gt; want to alert the user to this fact. Right now, you shut down Acad.  The&lt;BR /&gt;
&amp;gt; system will continue to display the warnings until all documents have been&lt;BR /&gt;
&amp;gt; shut down.)&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Anybody have any ideas?&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; Nick&lt;BR /&gt;
&amp;gt; Env:  A2K/VC6/W2K&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
/*********************************************************/&lt;BR /&gt;
/*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
/* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
/* ----------------------------------------------------- */&lt;BR /&gt;
/*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
/*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
/*********************************************************/</description>
      <pubDate>Thu, 13 Jan 2000 20:26:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812290#M161262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T20:26:29Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812291#M161263</link>
      <description>Tony,&lt;BR /&gt;
I'm already using that reactor to sense when I'm switching to and from the&lt;BR /&gt;
documents.  Actually, I had it set to DocumentBecameActive (or current or&lt;BR /&gt;
which ever.)  The problem is, when you do a shutdown of acad, all of the&lt;BR /&gt;
documents become current for at least blip or so.  Acad checks to see if the&lt;BR /&gt;
document needs saved which fires the reactors.... yadayadayada....  It's&lt;BR /&gt;
even more strange because if you put dialogs in your reactors (ala don't do&lt;BR /&gt;
that kinda dialogs) then they'll show up AFTER the acadframe has shut&lt;BR /&gt;
down... Kinda goofy...&lt;BR /&gt;
&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:387E34F5.E5FC1B44@worldnet.att.net...&lt;BR /&gt;
&amp;gt; Nick - Use VLR-DocManager-Reactor to detect opening/closing.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Nick Jacobs wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Hi Gang,&lt;BR /&gt;
&amp;gt; &amp;gt; I'm hoping somebody has found one now.....&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I've got document reactors running that sense a jump between drawings.&lt;BR /&gt;
&amp;gt; &amp;gt; (MDI).  What I'm looking for is a way to STOP those reactors when a user&lt;BR /&gt;
&amp;gt; &amp;gt; does something that causes the system to exit AutoCAD.  A good one is&lt;BR /&gt;
when&lt;BR /&gt;
&amp;gt; &amp;gt; the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; (My document reactors tell the user when they switch to a "RAW" drawing&lt;BR /&gt;
&amp;gt; &amp;gt; versus a drawing that has been configured with project number and such.&lt;BR /&gt;
We&lt;BR /&gt;
&amp;gt; &amp;gt; want to alert the user to this fact. Right now, you shut down Acad.  The&lt;BR /&gt;
&amp;gt; &amp;gt; system will continue to display the warnings until all documents have&lt;BR /&gt;
been&lt;BR /&gt;
&amp;gt; &amp;gt; shut down.)&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Anybody have any ideas?&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; &amp;gt; Nick&lt;BR /&gt;
&amp;gt; &amp;gt; Env:  A2K/VC6/W2K&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; /*********************************************************/&lt;BR /&gt;
&amp;gt; /*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
&amp;gt; /* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
&amp;gt; /* ----------------------------------------------------- */&lt;BR /&gt;
&amp;gt; /*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
&amp;gt; /*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
&amp;gt; /*********************************************************/&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Thu, 13 Jan 2000 20:51:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812291#M161263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T20:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Still looking for a shutting down reactor....</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812292#M161264</link>
      <description>And I appreciate it.&lt;BR /&gt;
&lt;BR /&gt;
"Nick Jacobs" &lt;JACOBS&gt; wrote in message&lt;BR /&gt;
news:85le0r$kcv14@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; Hehehe, thanks Frank.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I just like to say thanks where thanks is due.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Sometimes people don't appreciate the contributions around this net&lt;BR /&gt;
&amp;gt; thingy...... I just like to let people know that I do. Been that way since&lt;BR /&gt;
&amp;gt; way back in the Compuserve days...&lt;/JACOBS&gt;</description>
      <pubDate>Thu, 13 Jan 2000 20:51:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812292#M161264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T20:51:49Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812293#M161265</link>
      <description>Hehehe, thanks Frank.&lt;BR /&gt;
&lt;BR /&gt;
I just like to say thanks where thanks is due.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Sometimes people don't appreciate the contributions around this net&lt;BR /&gt;
thingy...... I just like to let people know that I do. Been that way since&lt;BR /&gt;
way back in the Compuserve days...&lt;BR /&gt;
&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;BR /&gt;
"Frank Oquendo" &lt;FRANKO&gt; wrote in message&lt;BR /&gt;
news:85lbll$kc010@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; What's not to respond? If I'm wrong, it was free in the first place. If&lt;BR /&gt;
I'm&lt;BR /&gt;
&amp;gt; right, I come up nice and shiny! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Nick Jacobs" &lt;JACOBS&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:85l9gh$kcv9@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; Humm.... I wonder if the "X" fires a "QUIT" or if it tells the&lt;BR /&gt;
application&lt;BR /&gt;
&amp;gt; &amp;gt; to do something else.... I'll look into that....&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; In any case, thanks for responding!!!!!!!!&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Nick&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Frank Oquendo" &lt;FRANKO&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:85l902$kc12@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; How about this? In the CommandWillStart reactor, if the command us&lt;BR /&gt;
&amp;gt; "QUIT",&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; you call (vl-bb-set 'ShutDown T). In your document reactor, you call&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (vl-bb-ref 'ShutDown) in an if statment to decide whether to excecute&lt;BR /&gt;
&amp;gt; the&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; rest of your code. If need be, you can place a balancing call to&lt;BR /&gt;
&amp;gt; &amp;gt; (vl-bb-ref)&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; in the commandCancelled reactor in case the user decides to cancel the&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; shutdown. Then your drawing reactors will still function the way you&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; designed them.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; "Nick Jacobs" &lt;JACOBS&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; news:85l4tt$kbm2@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi Gang,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm hoping somebody has found one now.....&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I've got document reactors running that sense a jump between&lt;BR /&gt;
drawings.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; (MDI).  What I'm looking for is a way to STOP those reactors when a&lt;BR /&gt;
&amp;gt; user&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; does something that causes the system to exit AutoCAD.  A good one&lt;BR /&gt;
is&lt;BR /&gt;
&amp;gt; &amp;gt; when&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; (My document reactors tell the user when they switch to a "RAW"&lt;BR /&gt;
&amp;gt; drawing&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; versus a drawing that has been configured with project number and&lt;BR /&gt;
&amp;gt; such.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; We&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; want to alert the user to this fact. Right now, you shut down Acad.&lt;BR /&gt;
&amp;gt; The&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; system will continue to display the warnings until all documents&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; &amp;gt; been&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; shut down.)&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Anybody have any ideas?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Nick&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Env:  A2K/VC6/W2K&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JACOBS&gt;&lt;/FRANKO&gt;&lt;/JACOBS&gt;&lt;/FRANKO&gt;</description>
      <pubDate>Thu, 13 Jan 2000 20:52:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812293#M161265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T20:52:58Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812294#M161266</link>
      <description>I take it you're removing your reactor from&lt;BR /&gt;
AcRx::kUnloadAppMsg/UnloadApplication().&lt;BR /&gt;
Try handling AcDbEditorReactor::beginQuit() to see if it gets called&lt;BR /&gt;
before the documentBecameCurrent().  If so, couldn't you set a global&lt;BR /&gt;
variable and check that before starting your dialog...&lt;BR /&gt;
&lt;BR /&gt;
Nick Jacobs wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Tony,&lt;BR /&gt;
&amp;gt; I'm already using that reactor to sense when I'm switching to and from the&lt;BR /&gt;
&amp;gt; documents.  Actually, I had it set to DocumentBecameActive (or current or&lt;BR /&gt;
&amp;gt; which ever.)  The problem is, when you do a shutdown of acad, all of the&lt;BR /&gt;
&amp;gt; documents become current for at least blip or so.  Acad checks to see if the&lt;BR /&gt;
&amp;gt; document needs saved which fires the reactors.... yadayadayada....  It's&lt;BR /&gt;
&amp;gt; even more strange because if you put dialogs in your reactors (ala don't do&lt;BR /&gt;
&amp;gt; that kinda dialogs) then they'll show up AFTER the acadframe has shut&lt;BR /&gt;
&amp;gt; down... Kinda goofy...&lt;BR /&gt;
&lt;BR /&gt;
    |                                              &lt;BR /&gt;
----+----------------------------------------------&lt;BR /&gt;
    |  Byron Blattel                               &lt;BR /&gt;
    |  CADwerx---Applications for AutoCAD          &lt;BR /&gt;
    |                                              &lt;BR /&gt;
    |  e-mail: cadwerx@texas.net                   &lt;BR /&gt;
    |&lt;BR /&gt;
    |</description>
      <pubDate>Thu, 13 Jan 2000 21:06:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812294#M161266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T21:06:48Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812295#M161267</link>
      <description>Byron,&lt;BR /&gt;
&lt;BR /&gt;
That's essentially what I'm trying to code right now.&lt;BR /&gt;
&lt;BR /&gt;
I'm going to start out doing it with vl-reactors and then move it into an&lt;BR /&gt;
arx file *hopefully* that is.&lt;BR /&gt;
&lt;BR /&gt;
In any case,&lt;BR /&gt;
Thanks for replying!!!!&lt;BR /&gt;
&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;BR /&gt;
"Byron Blattel" &lt;CADWERX&gt; wrote in message&lt;BR /&gt;
news:387E3E68.76A1478B@texas.net...&lt;BR /&gt;
&amp;gt; I take it you're removing your reactor from&lt;BR /&gt;
&amp;gt; AcRx::kUnloadAppMsg/UnloadApplication().&lt;BR /&gt;
&amp;gt; Try handling AcDbEditorReactor::beginQuit() to see if it gets called&lt;BR /&gt;
&amp;gt; before the documentBecameCurrent().  If so, couldn't you set a global&lt;BR /&gt;
&amp;gt; variable and check that before starting your dialog...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Nick Jacobs wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Tony,&lt;BR /&gt;
&amp;gt; &amp;gt; I'm already using that reactor to sense when I'm switching to and from&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; documents.  Actually, I had it set to DocumentBecameActive (or current&lt;BR /&gt;
or&lt;BR /&gt;
&amp;gt; &amp;gt; which ever.)  The problem is, when you do a shutdown of acad, all of the&lt;BR /&gt;
&amp;gt; &amp;gt; documents become current for at least blip or so.  Acad checks to see if&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; document needs saved which fires the reactors.... yadayadayada....  It's&lt;BR /&gt;
&amp;gt; &amp;gt; even more strange because if you put dialogs in your reactors (ala don't&lt;BR /&gt;
do&lt;BR /&gt;
&amp;gt; &amp;gt; that kinda dialogs) then they'll show up AFTER the acadframe has shut&lt;BR /&gt;
&amp;gt; &amp;gt; down... Kinda goofy...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt; ----+----------------------------------------------&lt;BR /&gt;
&amp;gt;     |  Byron Blattel&lt;BR /&gt;
&amp;gt;     |  CADwerx---Applications for AutoCAD&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt;     |  e-mail: cadwerx@texas.net&lt;BR /&gt;
&amp;gt;     |&lt;BR /&gt;
&amp;gt;     |&lt;/CADWERX&gt;</description>
      <pubDate>Thu, 13 Jan 2000 21:23:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812295#M161267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T21:23:07Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812296#M161268</link>
      <description>Nick - Unfortunately Autodesk has left numerous defects in its APIs.&lt;BR /&gt;
&lt;BR /&gt;
For example, the AcApDocManagerReactor is broken in several &lt;BR /&gt;
regards. Here's what I have found:&lt;BR /&gt;
&lt;BR /&gt;
1.  The documentActivated() member does not fire when a&lt;BR /&gt;
    document is made active via the ActiveX API.&lt;BR /&gt;
&lt;BR /&gt;
2.  The documentToBeDestroyed() member never fires at all.&lt;BR /&gt;
&lt;BR /&gt;
3.  The documentActivationModifed() member does not fire&lt;BR /&gt;
    when it should, and sometimes fires when its shouldn't.&lt;BR /&gt;
&lt;BR /&gt;
With defects like this, it's difficult to do anything without&lt;BR /&gt;
being forced to using all sorts of insidious kludges.&lt;BR /&gt;
&lt;BR /&gt;
Nick Jacobs wrote:&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Tony,&lt;BR /&gt;
&amp;gt; I'm already using that reactor to sense when I'm switching to and from the&lt;BR /&gt;
&amp;gt; documents.  Actually, I had it set to DocumentBecameActive (or current or&lt;BR /&gt;
&amp;gt; which ever.)  The problem is, when you do a shutdown of acad, all of the&lt;BR /&gt;
&amp;gt; documents become current for at least blip or so.  Acad checks to see if the&lt;BR /&gt;
&amp;gt; document needs saved which fires the reactors.... yadayadayada....  It's&lt;BR /&gt;
&amp;gt; even more strange because if you put dialogs in your reactors (ala don't do&lt;BR /&gt;
&amp;gt; that kinda dialogs) then they'll show up AFTER the acadframe has shut&lt;BR /&gt;
&amp;gt; down... Kinda goofy...&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Nick&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; "Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:387E34F5.E5FC1B44@worldnet.att.net...&lt;BR /&gt;
&amp;gt; &amp;gt; Nick - Use VLR-DocManager-Reactor to detect opening/closing.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Nick Jacobs wrote:&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Hi Gang,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I'm hoping somebody has found one now.....&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; I've got document reactors running that sense a jump between drawings.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (MDI).  What I'm looking for is a way to STOP those reactors when a user&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; does something that causes the system to exit AutoCAD.  A good one is&lt;BR /&gt;
&amp;gt; when&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; (My document reactors tell the user when they switch to a "RAW" drawing&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; versus a drawing that has been configured with project number and such.&lt;BR /&gt;
&amp;gt; We&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; want to alert the user to this fact. Right now, you shut down Acad.  The&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; system will continue to display the warnings until all documents have&lt;BR /&gt;
&amp;gt; been&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; shut down.)&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Anybody have any ideas?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Nick&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Env:  A2K/VC6/W2K&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; --&lt;BR /&gt;
&amp;gt; &amp;gt; /*********************************************************/&lt;BR /&gt;
&amp;gt; &amp;gt; /*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
&amp;gt; &amp;gt; /* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
&amp;gt; &amp;gt; /* ----------------------------------------------------- */&lt;BR /&gt;
&amp;gt; &amp;gt; /*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
&amp;gt; &amp;gt; /*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
&amp;gt; &amp;gt; /*********************************************************/&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
/*********************************************************/&lt;BR /&gt;
/*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
/* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
/* ----------------------------------------------------- */&lt;BR /&gt;
/*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
/*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
/*********************************************************/&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Thu, 13 Jan 2000 22:06:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812296#M161268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-13T22:06:44Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812297#M161269</link>
      <description>Tony,&lt;BR /&gt;
Amen to that.......  I've found some like that plus one or two when running&lt;BR /&gt;
with W2K that make this interesting....&lt;BR /&gt;
&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:387E4C74.7B5C0336@worldnet.att.net...&lt;BR /&gt;
&amp;gt; Nick - Unfortunately Autodesk has left numerous defects in its APIs.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; For example, the AcApDocManagerReactor is broken in several&lt;BR /&gt;
&amp;gt; regards. Here's what I have found:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; 1.  The documentActivated() member does not fire when a&lt;BR /&gt;
&amp;gt;     document is made active via the ActiveX API.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; 2.  The documentToBeDestroyed() member never fires at all.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; 3.  The documentActivationModifed() member does not fire&lt;BR /&gt;
&amp;gt;     when it should, and sometimes fires when its shouldn't.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; With defects like this, it's difficult to do anything without&lt;BR /&gt;
&amp;gt; being forced to using all sorts of insidious kludges.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Nick Jacobs wrote:&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Tony,&lt;BR /&gt;
&amp;gt; &amp;gt; I'm already using that reactor to sense when I'm switching to and from&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; documents.  Actually, I had it set to DocumentBecameActive (or current&lt;BR /&gt;
or&lt;BR /&gt;
&amp;gt; &amp;gt; which ever.)  The problem is, when you do a shutdown of acad, all of the&lt;BR /&gt;
&amp;gt; &amp;gt; documents become current for at least blip or so.  Acad checks to see if&lt;BR /&gt;
the&lt;BR /&gt;
&amp;gt; &amp;gt; document needs saved which fires the reactors.... yadayadayada....  It's&lt;BR /&gt;
&amp;gt; &amp;gt; even more strange because if you put dialogs in your reactors (ala don't&lt;BR /&gt;
do&lt;BR /&gt;
&amp;gt; &amp;gt; that kinda dialogs) then they'll show up AFTER the acadframe has shut&lt;BR /&gt;
&amp;gt; &amp;gt; down... Kinda goofy...&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Nick&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; "Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; news:387E34F5.E5FC1B44@worldnet.att.net...&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Nick - Use VLR-DocManager-Reactor to detect opening/closing.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; Nick Jacobs wrote:&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Hi Gang,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm hoping somebody has found one now.....&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I've got document reactors running that sense a jump between&lt;BR /&gt;
drawings.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; (MDI).  What I'm looking for is a way to STOP those reactors when a&lt;BR /&gt;
user&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; does something that causes the system to exit AutoCAD.  A good one&lt;BR /&gt;
is&lt;BR /&gt;
&amp;gt; &amp;gt; when&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; the user hits the "X" to close down AutoCAD.&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; (My document reactors tell the user when they switch to a "RAW"&lt;BR /&gt;
drawing&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; versus a drawing that has been configured with project number and&lt;BR /&gt;
such.&lt;BR /&gt;
&amp;gt; &amp;gt; We&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; want to alert the user to this fact. Right now, you shut down Acad.&lt;BR /&gt;
The&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; system will continue to display the warnings until all documents&lt;BR /&gt;
have&lt;BR /&gt;
&amp;gt; &amp;gt; been&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; shut down.)&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Anybody have any ideas?&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Nick&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; Env:  A2K/VC6/W2K&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; --&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; /*********************************************************/&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; /*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; /* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; /* ----------------------------------------------------- */&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; /*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; /*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
&amp;gt; &amp;gt; &amp;gt; /*********************************************************/&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; /*********************************************************/&lt;BR /&gt;
&amp;gt; /*    Tony Tanzillo     Design Automation Consulting     */&lt;BR /&gt;
&amp;gt; /* Programming &amp;amp; Customization for AutoCAD &amp;amp; Compatibles */&lt;BR /&gt;
&amp;gt; /* ----------------------------------------------------- */&lt;BR /&gt;
&amp;gt; /*            tony.tanzillo@worldnet.att.net             */&lt;BR /&gt;
&amp;gt; /*    http://ourworld.compuserve.com/homepages/tonyt     */&lt;BR /&gt;
&amp;gt; /*********************************************************/&lt;/TONY.TANZILLO&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Fri, 14 Jan 2000 13:28:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812297#M161269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-14T13:28:56Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812298#M161270</link>
      <description>Well Frank,&lt;BR /&gt;
What you suggested works great for all normal messages.... What it doesn't&lt;BR /&gt;
work with is the "X" way of shutting down AutoCAD (Close Type messages from&lt;BR /&gt;
the system).....&lt;BR /&gt;
&lt;BR /&gt;
Getting there..&lt;BR /&gt;
&lt;BR /&gt;
Have you ever worked with the WinHook functions? I was looking at them as a&lt;BR /&gt;
way to get the Quit Message and the turning off reactors...&lt;BR /&gt;
&lt;BR /&gt;
What do ya think?&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;BR /&gt;
"Frank Oquendo" &lt;FRANKO&gt; wrote in message&lt;BR /&gt;
news:85le56$kbm11@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; And I appreciate it.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Nick Jacobs" &lt;JACOBS&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:85le0r$kcv14@adesknews2.autodesk.com...&lt;BR /&gt;
&amp;gt; &amp;gt; Hehehe, thanks Frank.&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I just like to say thanks where thanks is due.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Sometimes people don't appreciate the contributions around this net&lt;BR /&gt;
&amp;gt; &amp;gt; thingy...... I just like to let people know that I do. Been that way&lt;BR /&gt;
since&lt;BR /&gt;
&amp;gt; &amp;gt; way back in the Compuserve days...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JACOBS&gt;&lt;/FRANKO&gt;</description>
      <pubDate>Fri, 14 Jan 2000 14:14:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/still-looking-for-a-shutting-down-reactor/m-p/812298#M161270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-01-14T14:14:50Z</dc:date>
    </item>
  </channel>
</rss>

