<?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: Closing a JMP modal dialog using JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Closing-a-JMP-modal-dialog-using-JSL/m-p/356597#M60652</link>
    <description>&lt;P&gt;The short answer is that you can't close a modal window from another script because by the modal window stops the script until the window is closed.&amp;nbsp; You instead need to prevent the modal window from opening in the first place.&amp;nbsp; By your later post I suspect you already found a way to do that, if not you might need to rework the function that causes the modal window to open.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2021 22:07:31 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2021-02-05T22:07:31Z</dc:date>
    <item>
      <title>Closing a JMP modal dialog using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Closing-a-JMP-modal-dialog-using-JSL/m-p/356051#M60593</link>
      <description>&lt;P&gt;Hi Everyone!&lt;/P&gt;&lt;P&gt;I am working on a script to import excel files stored in SharePoint.&amp;nbsp; So far I am able to open the web page to SharePoint site and import the Excel sheet.&amp;nbsp; However, there is a JMP modal window that&amp;nbsp; opens called "File Download" with the user options of Open, Save or Cancel.&amp;nbsp; I just need the script to either not open OR to Cancel this window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could not locate a "File option" setting in the OPEN function that would prevent this dialog from opening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:05:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Closing-a-JMP-modal-dialog-using-JSL/m-p/356051#M60593</guid>
      <dc:creator>Onjai</dc:creator>
      <dc:date>2023-06-09T22:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Closing a JMP modal dialog using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Closing-a-JMP-modal-dialog-using-JSL/m-p/356597#M60652</link>
      <description>&lt;P&gt;The short answer is that you can't close a modal window from another script because by the modal window stops the script until the window is closed.&amp;nbsp; You instead need to prevent the modal window from opening in the first place.&amp;nbsp; By your later post I suspect you already found a way to do that, if not you might need to rework the function that causes the modal window to open.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 22:07:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Closing-a-JMP-modal-dialog-using-JSL/m-p/356597#M60652</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-02-05T22:07:31Z</dc:date>
    </item>
  </channel>
</rss>

