<?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: how do I stop a running JMP script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18400#M16778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wholeheartedly disagree.&amp;nbsp; While not perfect, it for sure is better than Notepad++, now if we were talking Sublime Text that's another story &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.jmp.com/7.0.4.3b79b96/images/emoticons/wink.png"&gt;&lt;/SPAN&gt;.&amp;nbsp; There are a lot of helpful tools in the JSL editor.&amp;nbsp; You can do a split view to make editing easier.&amp;nbsp; It has a built in Reformat Script to make everyone's code look the same and follow a standard set of rules (although I wish I had more control of what rules to follow).&amp;nbsp; Hovering over functions or commands will display a tool tip telling you the parameters of the function and what it does.&amp;nbsp; If you can't remember the full name of a function typing a few words and pressing Ctrl+Space will bring up a list of possible functions you are looking for.&amp;nbsp; Probably the biggest problem is there isn't a shortcut (that I know of) to comment/uncomment code and Ctrl+/ doesn't work like most other editors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as stop running JMP script, it's more in the way JMP processes the code than in the editor.&amp;nbsp; JSL runs asynchronously completely.&amp;nbsp; Hitting "ESC" just sends another JSL command which adds it to the queue.&amp;nbsp; Unfortunately it won't process that command until there's a lull in the the current script running.&amp;nbsp; JMP will just keep running a current code as quickly as possible.&amp;nbsp; As a tip, if you want your ESC button to work, just include wait(0) into all your for/while loops.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2016 14:58:48 GMT</pubDate>
    <dc:creator>msharp</dc:creator>
    <dc:date>2016-05-05T14:58:48Z</dc:date>
    <item>
      <title>how do I stop a running JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18397#M16775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do I stop a running JMP script?&lt;/P&gt;&lt;P&gt;I script has a journal and inter active button and tick-able filed. Very often the script report error at very beginning but I could not stop it running rather than wait.&amp;nbsp; I tried esc button but it does not work.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 21:44:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18397#M16775</guid>
      <dc:creator>robust1972</dc:creator>
      <dc:date>2016-05-04T21:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: how do I stop a running JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18398#M16776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only way to stop the processing of a JMP script is to press the ESC key.&amp;nbsp; Unfortunately this is not a perfect solution, and some components of some scripts will not recognize the ESC key.&amp;nbsp; The obvious other option is to startup Task Manager, and shutting down JMP.&amp;nbsp; Other users may be aware of other options. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 03:10:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18398#M16776</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-05-05T03:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: how do I stop a running JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18399#M16777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is another thread talking about stop the script with button built with script, but I do not know how to integrate it to my script. I guess it is time for JMP giving a over haul to the script editor to make it more user friendly and powerful. I had used Notepad++ to compile other coding, which is free and much better than the jmp script editor, especially in the perspective of find/replace functionality.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/message/168413" target="_blank"&gt;[Jsl] How can i stop a script with a button  ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 13:26:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18399#M16777</guid>
      <dc:creator>robust1972</dc:creator>
      <dc:date>2016-10-28T13:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: how do I stop a running JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18400#M16778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wholeheartedly disagree.&amp;nbsp; While not perfect, it for sure is better than Notepad++, now if we were talking Sublime Text that's another story &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.jmp.com/7.0.4.3b79b96/images/emoticons/wink.png"&gt;&lt;/SPAN&gt;.&amp;nbsp; There are a lot of helpful tools in the JSL editor.&amp;nbsp; You can do a split view to make editing easier.&amp;nbsp; It has a built in Reformat Script to make everyone's code look the same and follow a standard set of rules (although I wish I had more control of what rules to follow).&amp;nbsp; Hovering over functions or commands will display a tool tip telling you the parameters of the function and what it does.&amp;nbsp; If you can't remember the full name of a function typing a few words and pressing Ctrl+Space will bring up a list of possible functions you are looking for.&amp;nbsp; Probably the biggest problem is there isn't a shortcut (that I know of) to comment/uncomment code and Ctrl+/ doesn't work like most other editors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as stop running JMP script, it's more in the way JMP processes the code than in the editor.&amp;nbsp; JSL runs asynchronously completely.&amp;nbsp; Hitting "ESC" just sends another JSL command which adds it to the queue.&amp;nbsp; Unfortunately it won't process that command until there's a lull in the the current script running.&amp;nbsp; JMP will just keep running a current code as quickly as possible.&amp;nbsp; As a tip, if you want your ESC button to work, just include wait(0) into all your for/while loops.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 14:58:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18400#M16778</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2016-05-05T14:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: how do I stop a running JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18401#M16779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By "shortcut" you probably mean key sequence and you may already be aware of what follows, but I'll post it anyway. While I'm not aware of a shortcut key sequence to comment/uncomment code, there is a quick way to do this by highlighting the block of code, right-clicking, and then selecting Advanced-&amp;gt;Comment/Uncomment Block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11473_Capture.PNG" style="width: 619px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3030i068AC58205CE4147/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11473_Capture.PNG" alt="11473_Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 02:34:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18401#M16779</guid>
      <dc:creator>jerry_cooper</dc:creator>
      <dc:date>2016-10-19T02:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: how do I stop a running JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18402#M16780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the function I would like to have in jmp script editor are:&lt;/P&gt;&lt;P&gt;1. Advanced find/replace, like supporting regular expression, listing the matches in separated window;&lt;/P&gt;&lt;P&gt;2. Make the error/alert clickable(link to the line of code);&lt;/P&gt;&lt;P&gt;3. Stop button.&lt;/P&gt;&lt;P&gt;4. Script visible while running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script has SQL pulling few million of rows data. Maybe that is why it is not stoppable by ESC button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 16:52:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18402#M16780</guid>
      <dc:creator>robust1972</dc:creator>
      <dc:date>2016-05-05T16:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: how do I stop a running JMP script</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18403#M16781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use regular expressions in the find/replace window.&amp;nbsp; 2-4 are available in debug mode.&amp;nbsp; I think the debug mode isn't very user friendly, but it's all available.&amp;nbsp; Also, for 4) if you hover over a variable while a script is running, it will display the variable value in the lower right.&amp;nbsp; In debugger you have a locals window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regular Expressions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11474_pastedImage_0.png" style="width: 374px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3031i927B3A48F6837ED7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11474_pastedImage_0.png" alt="11474_pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Debug Mode:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11475_pastedImage_1.png" style="width: 95px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3032iF3EF138B8FDE577F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11475_pastedImage_1.png" alt="11475_pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hover Display:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11476_pastedImage_2.png" style="width: 418px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3033iE11416922D9EFAA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11476_pastedImage_2.png" alt="11476_pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 02:35:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-stop-a-running-JMP-script/m-p/18403#M16781</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2016-10-19T02:35:05Z</dc:date>
    </item>
  </channel>
</rss>

