<?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: Accidentally hid a modal window.  Now I'm locked out.  :( in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478531#M72274</link>
    <description>&lt;P&gt;I also try to be good friends with Save button, but I have also made this wish list item&amp;nbsp;&lt;LI-MESSAGE title="Script Editor - Add possibility to save script before run to temporary file" uid="441010" url="https://community.jmp.com/t5/JMP-Wish-List/Script-Editor-Add-possibility-to-save-script-before-run-to/m-p/441010#U441010" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;and there is also&amp;nbsp;&lt;LI-MESSAGE title="FileSnapper" uid="321872" url="https://community.jmp.com/t5/JMP-Add-Ins/FileSnapper/m-p/321872#U321872" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 05:35:34 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-04-12T05:35:34Z</dc:date>
    <item>
      <title>Accidentally hid a modal window.  Now I'm locked out.  :(</title>
      <link>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478249#M72251</link>
      <description>&lt;P&gt;So, I was goofing around and asked myself "What would happen if I try to hide a modal window?". &amp;nbsp;The script below illustrates (Do not run this script, as it will lock up JMP):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//=====================================================&lt;BR /&gt;//Warning.  Do not press the "Hide" button!!!  It will lock up JMP&lt;BR /&gt;//=====================================================&lt;BR /&gt;Names Default to Here(1);
New Window("Test", &amp;lt;&amp;lt; Modal,
    Button Box("Hide", Window("Test") &amp;lt;&amp;lt; Show Window(0));
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Well, that was a dumb idea. &amp;nbsp;I pressed "Hide" and sure enough, the window was hidden. &amp;nbsp;But because it's a modal window and it was still open, only hidden from view, I could not access anything else. &amp;nbsp;Couldn't stop the script. &amp;nbsp;Pressing ESC or CMD + . didn't exit the script (I'm using a Mac). &amp;nbsp;In the end I had to force quit, losing about 2-3hrs of work on another script I had open. &amp;nbsp;Also tried to save my work prior to force quitting (CMD + S), but it would only allow me to save the script that was currently in focus (the script above). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question: would there have been any other way for me to either force close that modal window, or force stop the script? &amp;nbsp;Asking because, although I've learned my lesson in this case, there's been other times I've done something else equally brilliant that resulted in the my not being able to save my work. &amp;nbsp; Would be nice to know if there's some other solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Relevant Details:&lt;/P&gt;&lt;P&gt;JMP Pro 15.2.1&lt;/P&gt;&lt;P&gt;Mac OS Big Sur&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:56:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478249#M72251</guid>
      <dc:creator>nikles</dc:creator>
      <dc:date>2023-06-09T16:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accidentally hid a modal window.  Now I'm locked out.  :(</title>
      <link>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478483#M72262</link>
      <description>&lt;P&gt;I don't know of a way to recover JMP in that situation but you could enable Autosave for scripts and other things under the General section of Preferences.&amp;nbsp; Personally I just try to be good friends with the save button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From help (link below):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Automatically saves the contents of opened data tables, journals, reports, projects, and scripts except for untitled files at the specified interval. The default setting is 0 minutes, which indicates no autosave.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/16.0/#page/jmp/general-jmp-preferences.shtml?os=win&amp;amp;source=application&amp;amp;utm_source=helpmenu&amp;amp;utm_medium=application#ww1156405" target="_blank"&gt;https://www.jmp.com/support/help/en/16.0/#page/jmp/general-jmp-preferences.shtml?os=win&amp;amp;source=application&amp;amp;utm_source=helpmenu&amp;amp;utm_medium=application#ww1156405&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 20:58:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478483#M72262</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2022-04-11T20:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accidentally hid a modal window.  Now I'm locked out.  :(</title>
      <link>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478531#M72274</link>
      <description>&lt;P&gt;I also try to be good friends with Save button, but I have also made this wish list item&amp;nbsp;&lt;LI-MESSAGE title="Script Editor - Add possibility to save script before run to temporary file" uid="441010" url="https://community.jmp.com/t5/JMP-Wish-List/Script-Editor-Add-possibility-to-save-script-before-run-to/m-p/441010#U441010" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;and there is also&amp;nbsp;&lt;LI-MESSAGE title="FileSnapper" uid="321872" url="https://community.jmp.com/t5/JMP-Add-Ins/FileSnapper/m-p/321872#U321872" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 05:35:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478531#M72274</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-04-12T05:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Accidentally hid a modal window.  Now I'm locked out.  :(</title>
      <link>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478850#M72307</link>
      <description>&lt;P&gt;Sympathy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apparently (this example) is not an issue on Win because the modal window does not hide, but I've been there too. If I'm lucky, I can take a picture of the JSL before restarting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="FileSnapper" uid="321872" url="https://community.jmp.com/t5/JMP-Add-Ins/FileSnapper/m-p/321872#U321872" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp; uses some windows specific DOS commands, so it won't help on Mac.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 11:39:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478850#M72307</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-04-13T11:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accidentally hid a modal window.  Now I'm locked out.  :(</title>
      <link>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478972#M72324</link>
      <description>&lt;P&gt;Thanks for the advice guys! &amp;nbsp;Yeah, it stinks there's no way to recover from this, but in the end I was able to remember what I'd done and have since recovered. &amp;nbsp;NBD.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 18:40:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Accidentally-hid-a-modal-window-Now-I-m-locked-out/m-p/478972#M72324</guid>
      <dc:creator>nikles</dc:creator>
      <dc:date>2022-04-13T18:40:11Z</dc:date>
    </item>
  </channel>
</rss>

