<?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: Keyboard shortcut for &amp;quot;Help Scripting Index&amp;quot;? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559118#M77241</link>
    <description>&lt;P&gt;I think to check cursor location you would need to use Windows API or something similar. If you can figure out where the cursor is you could most likely use something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get Line Text (and other Script Box methods. Also see &lt;A href="https://www.jmp.com/support/help/en/16.2/index.shtml#page/jmp/scripting-the-script-editor.shtml#" target="_blank" rel="noopener"&gt;Scripting the Script Editor&lt;/A&gt;&amp;nbsp;:(&lt;/img&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
New Window("Example", sb = Script Box("print(\!"Hello\!");"));
Print(sb &amp;lt;&amp;lt; Get Line Text(1));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open Help&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
Open Help(
	"Scripting Index",
	Search(Term("Open"), Match({"Contains Terms", "Match All Terms", "Ignore Case"})),
	IndexContext(Category("Functions"))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 21 Oct 2022 15:34:33 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-10-21T15:34:33Z</dc:date>
    <item>
      <title>Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/558962#M77217</link>
      <description>&lt;P&gt;In a script window, the user can right click on a &lt;STRONG&gt;function&lt;/STRONG&gt; and click on "Help Scripting Index".&lt;/P&gt;&lt;P&gt;This opens the Scripting Index &lt;STRONG&gt;with the function selected&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this action also be triggered by a &lt;STRONG&gt;Keyboard Shortcut&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, can an add-in do the same:&lt;BR /&gt;- check where the cursor is in the code&lt;/P&gt;&lt;P&gt;- check for the surrounding function (with spaces etc.)&lt;/P&gt;&lt;P&gt;- open the scripting index on th e right page&lt;/P&gt;&lt;P&gt;Then I could assign a keyboard shortcut ..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1666356475441.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46483iBF2A4278547A38D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1666356475441.png" alt="hogi_0-1666356475441.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:00:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/558962#M77217</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-06-09T16:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559049#M77232</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;main menu("scripting index")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is the JSL that will open the Scripting Index&lt;/P&gt;
&lt;P&gt;You should be able to add this to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;View=&amp;gt;Customize=&amp;gt;Menus and Toolbars&lt;/P&gt;
&lt;P&gt;as a keyboard shortcut&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 14:33:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559049#M77232</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-10-21T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559118#M77241</link>
      <description>&lt;P&gt;I think to check cursor location you would need to use Windows API or something similar. If you can figure out where the cursor is you could most likely use something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get Line Text (and other Script Box methods. Also see &lt;A href="https://www.jmp.com/support/help/en/16.2/index.shtml#page/jmp/scripting-the-script-editor.shtml#" target="_blank" rel="noopener"&gt;Scripting the Script Editor&lt;/A&gt;&amp;nbsp;:(&lt;/img&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
New Window("Example", sb = Script Box("print(\!"Hello\!");"));
Print(sb &amp;lt;&amp;lt; Get Line Text(1));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Open Help&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
Open Help(
	"Scripting Index",
	Search(Term("Open"), Match({"Contains Terms", "Match All Terms", "Ignore Case"})),
	IndexContext(Category("Functions"))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Oct 2022 15:34:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559118#M77241</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-10-21T15:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559162#M77246</link>
      <description>&lt;P&gt;Thanks for the modules. Hm, unfortunately, more complicated than I hoped.&lt;BR /&gt;&lt;BR /&gt;altenantive: wish to add a keyboard shortcut directly to jmp&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/Keyboard-shortcut-to-open-Scripting-Index-on-the-correct-page/idi-p/559156" target="_blank"&gt;https://community.jmp.com/t5/JMP-Wish-List/Keyboard-shortcut-to-open-Scripting-Index-on-the-correct-page/idi-p/559156&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 16:03:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559162#M77246</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-10-21T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559197#M77255</link>
      <description>&lt;P&gt;It is pretty simple. Select &lt;STRONG&gt;View &amp;gt; Customize &amp;gt; Menus and Toolbars&lt;/STRONG&gt;. Find the Help &amp;gt; Scripting Index command in the list on the left side and select it. Assign the new keyboard equivalent you want near the bottom. I illustrate with Shift-Control-I (Windows example).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="custom.PNG" style="width: 754px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46497i9121A0D2265DC9B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="custom.PNG" alt="custom.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 16:38:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559197#M77255</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-10-21T16:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559200#M77256</link>
      <description>&lt;P&gt;There are quite a few shortcuts JMP's script editor is missing. Such as move line up/down, copy line up/down, run line, run until cursor and so on (some of the useful can be found for example from &lt;A href="https://code.visualstudio.com/docs/getstarted/keybindings" target="_blank" rel="noopener"&gt; Key Bindings for Visual Studio Code&lt;/A&gt;). Shortcuts should also be very easy to rebind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also have a long list of features/shortcuts I would like to have added, but haven't made wish list item for them (so I'll have to manage without for now).&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 16:43:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559200#M77256</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-10-21T16:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559257#M77270</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;On my system, the command "Scripting Index" from "Help" just opens the Scripting Index.&lt;/P&gt;&lt;P&gt;Actually, exactly what it says ...&lt;BR /&gt;- but quite different from what The "Scripting Index" in the right context menu can do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 20:52:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559257#M77270</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-10-21T20:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559287#M77278</link>
      <description>&lt;P&gt;run line:&lt;BR /&gt;&lt;STRONG&gt;enter&lt;/STRONG&gt; on numerical keyboard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(if some text is selected, JMP just runs the selected text)&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2022 04:35:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559287#M77278</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-10-22T04:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559615#M77314</link>
      <description>&lt;P&gt;I apologize. I reread your original post and realized you were asking for something else. I was responding to some of the early replies instead of your request.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:40:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/559615#M77314</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-10-24T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Keyboard shortcut for "Help Scripting Index"?</title>
      <link>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/560605#M77393</link>
      <description>&lt;P&gt;in JMP 17: Alt + double click&lt;BR /&gt;:)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1666807790157.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46601i4F5BA9CB7F97A7C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1666807790157.png" alt="hogi_0-1666807790157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 18:10:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Keyboard-shortcut-for-quot-Help-Scripting-Index-quot/m-p/560605#M77393</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2022-10-26T18:10:53Z</dc:date>
    </item>
  </channel>
</rss>

