<?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 Re: Check Inventor is idle in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6019090#M61367</link>
    <description>&lt;P&gt;Just to add to this, I need to know if the user is not using Inventor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now isn't there something you could do&amp;nbsp;with events to check if the mouse/keyboard is idle within Inventor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2016 09:28:46 GMT</pubDate>
    <dc:creator>DWhiteley</dc:creator>
    <dc:date>2016-02-02T09:28:46Z</dc:date>
    <item>
      <title>Check Inventor is idle</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6017453#M61343</link>
      <description>&lt;P&gt;I need to check that Inventor is "idle" (doing nothing), so that I can run an external programme on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;strSBText = OApp.StatusBarText&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; strSBText = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"Ready"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Or&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; strSBText = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;"For Help, press F1"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Then....&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;However, this does not work if "Dynamic prompts" is switched on.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Now, I remember some time back, being told of another way, but I can't remember the solution!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Can anyone prompt my mwemory on this?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Thanks in advance,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Dave&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:01:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6017453#M61343</guid>
      <dc:creator>DWhiteley</dc:creator>
      <dc:date>2016-02-01T15:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Check Inventor is idle</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6019090#M61367</link>
      <description>&lt;P&gt;Just to add to this, I need to know if the user is not using Inventor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now isn't there something you could do&amp;nbsp;with events to check if the mouse/keyboard is idle within Inventor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 09:28:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6019090#M61367</guid>
      <dc:creator>DWhiteley</dc:creator>
      <dc:date>2016-02-02T09:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Check Inventor is idle</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6020034#M61392</link>
      <description>&lt;P&gt;Hi Dave,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An&amp;nbsp;OnIdle event has never been exposed through the Inventor API.&amp;nbsp; The true Windows OnIdle probably wouldn't be all that useful because it does mean that the Inventor message queue is empty so Inventor is idle but that can happen for a fraction of a second as the user is still working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One possible solution is to check to see if the currently active command is the default command.&amp;nbsp; There's a propety on the Document that returns the name of the default command for that document type.&amp;nbsp; I think it's always the select command anyway.&amp;nbsp; This will tell you that the user is not currently in the middle of a command.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 16:27:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6020034#M61392</guid>
      <dc:creator>ekinsb</dc:creator>
      <dc:date>2016-02-02T16:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Check Inventor is idle</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6020131#M61395</link>
      <description>&lt;P&gt;Thanks Brian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's what I was looking for! It is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oDoc.DefaultCommand = "AppSelectNorthwestArrowCmd"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 17:04:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-inventor-is-idle/m-p/6020131#M61395</guid>
      <dc:creator>DWhiteley</dc:creator>
      <dc:date>2016-02-02T17:04:34Z</dc:date>
    </item>
  </channel>
</rss>

