<?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: Trapping first time a script is run in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Trapping-first-time-a-script-is-run/m-p/193079#M17762</link>
    <description>Thanks Juha,&lt;BR /&gt;
I was on the wrong track with the "request" side of things which was throwing me a bit.&lt;BR /&gt;
I did search for "First" but must have skipped over this post.&lt;BR /&gt;
I'll be sure to write this one down for future reference.&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Barry.</description>
    <pubDate>Tue, 22 Mar 2011 01:35:14 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2011-03-22T01:35:14Z</dc:date>
    <item>
      <title>Trapping first time a script is run</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Trapping-first-time-a-script-is-run/m-p/193077#M17760</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Is there a way to trap the first time a script is run for an object (ie the master script)?&lt;BR /&gt;
&lt;BR /&gt;
I am sure I have read something in this forum but searching has not been successful.&lt;BR /&gt;
&lt;BR /&gt;
If I remember correctly it might be a "Request ..." but I have had no luck with the help file either.&lt;BR /&gt;
&lt;BR /&gt;
Basically I want to be able to set an new parameter value based on the value of an existing parameter the first time the object is opened in an existing plan.&lt;BR /&gt;
But then I need to have the new value completely independent of the original value - which is why I need to trap the first time the master or parameter script is run.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Mar 2011 05:59:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Trapping-first-time-a-script-is-run/m-p/193077#M17760</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2011-03-21T05:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trapping first time a script is run</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Trapping-first-time-a-script-is-run/m-p/193078#M17761</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
 n = APPLICATION_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", isFirstRun) &lt;BR /&gt;
&lt;BR /&gt;
Discussed here;&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=34828&amp;amp;start=0&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=isfirstrun" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=34828&amp;amp;start=0&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=isfirstrun" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;&amp;lt;LINK_TEXT text=&amp;quot;http://archicad-talk.graphisoft.com/vie ... isfirstrun&amp;quot;&amp;gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=34828&amp;amp;start=0&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=isfirstrun&amp;lt;/LINK_TEXT&amp;gt;&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... isfirstrun"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=34828&amp;amp;start=0&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=isfirstrun&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Mon, 21 Mar 2011 10:23:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Trapping-first-time-a-script-is-run/m-p/193078#M17761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-21T10:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trapping first time a script is run</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Trapping-first-time-a-script-is-run/m-p/193079#M17762</link>
      <description>Thanks Juha,&lt;BR /&gt;
I was on the wrong track with the "request" side of things which was throwing me a bit.&lt;BR /&gt;
I did search for "First" but must have skipped over this post.&lt;BR /&gt;
I'll be sure to write this one down for future reference.&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 22 Mar 2011 01:35:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Trapping-first-time-a-script-is-run/m-p/193079#M17762</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2011-03-22T01:35:14Z</dc:date>
    </item>
  </channel>
</rss>

