<?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 Script error when it´s used in App-Builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Script-error-when-it-s-used-in-App-Builder/m-p/576489#M78439</link>
    <description>&lt;P&gt;I have a script to open and combine two tables. Based on selected time and runtype, it creates first subsets then combine those tables. When I run in script editor, or put it into add-in directly, it works fine. But I want to put that script under a "button box" in application builder, where it gives an error for each table subset. If I click both "ok", I get my final table anyway. But it´s disturbing and not convenient to get those errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I/O problem.&lt;/P&gt;&lt;P&gt;"table_name.jmp"&lt;/P&gt;&lt;P&gt;Unable to open in ReadWrite mode.&lt;/P&gt;&lt;P&gt;The system cannot find the file specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742"&gt;@martindemel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:57:47 GMT</pubDate>
    <dc:creator>Metin_Tueluemen</dc:creator>
    <dc:date>2023-06-10T23:57:47Z</dc:date>
    <item>
      <title>Script error when it´s used in App-Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Script-error-when-it-s-used-in-App-Builder/m-p/576489#M78439</link>
      <description>&lt;P&gt;I have a script to open and combine two tables. Based on selected time and runtype, it creates first subsets then combine those tables. When I run in script editor, or put it into add-in directly, it works fine. But I want to put that script under a "button box" in application builder, where it gives an error for each table subset. If I click both "ok", I get my final table anyway. But it´s disturbing and not convenient to get those errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I/O problem.&lt;/P&gt;&lt;P&gt;"table_name.jmp"&lt;/P&gt;&lt;P&gt;Unable to open in ReadWrite mode.&lt;/P&gt;&lt;P&gt;The system cannot find the file specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742"&gt;@martindemel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:57:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-error-when-it-s-used-in-App-Builder/m-p/576489#M78439</guid>
      <dc:creator>Metin_Tueluemen</dc:creator>
      <dc:date>2023-06-10T23:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Script error when it´s used in App-Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Script-error-when-it-s-used-in-App-Builder/m-p/576566#M78445</link>
      <description>&lt;P&gt;This sounds like a problem with the Default Directory in JSL, but it is surprising that the script would appear to work fine after having produced this error message.&amp;nbsp; Maybe it works because the tables are already open?&lt;/P&gt;
&lt;P&gt;If it is a Default Directory issue, you could try using a full path, or calling Set Default Directory() at some point in the app.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 15:42:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-error-when-it-s-used-in-App-Builder/m-p/576566#M78445</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2022-12-02T15:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Script error when it´s used in App-Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Script-error-when-it-s-used-in-App-Builder/m-p/581399#M78828</link>
      <description>&lt;P&gt;Hi Dan, thanks for your answer. I still don´t know what is the root cause for this problem, but I do not set any default directory, because the people use that should decide where to save. But i found a work around. Instead of writing the script under the "button" in app builder, I just include() my external script. Now it works.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 12:39:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-error-when-it-s-used-in-App-Builder/m-p/581399#M78828</guid>
      <dc:creator>Metin_Tueluemen</dc:creator>
      <dc:date>2022-12-14T12:39:42Z</dc:date>
    </item>
  </channel>
</rss>

