<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Programmatic shortcuts manipulation &#8211; part 2	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=programmatic-shortcuts-manipulation-part-2</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Fri, 15 Apr 2022 08:24:36 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: xuejie wu		</title>
		<link>https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-513951</link>

		<dc:creator><![CDATA[xuejie wu]]></dc:creator>
		<pubDate>Fri, 15 Apr 2022 08:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6169#comment-513951</guid>

					<description><![CDATA[Hi:
  I&#039;m wondering  if i can add my customized section or tab  ?]]></description>
			<content:encoded><![CDATA[<p>Hi:<br />
  I&#8217;m wondering  if i can add my customized section or tab  ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt		</title>
		<link>https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-509162</link>

		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Sat, 07 Nov 2020 15:48:31 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6169#comment-509162</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-368562&quot;&gt;Ale&lt;/a&gt;.

Late reply I know, but you can call custom shortcuts with alt-#. Hold down Alt to see what number is assigned to the shortcuts you&#039;ve created. 

Now if there was a way to create a custom shortcut -  that would be really useful to know.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-368562">Ale</a>.</p>
<p>Late reply I know, but you can call custom shortcuts with alt-#. Hold down Alt to see what number is assigned to the shortcuts you&#8217;ve created. </p>
<p>Now if there was a way to create a custom shortcut &#8211;  that would be really useful to know.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Harald		</title>
		<link>https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-376237</link>

		<dc:creator><![CDATA[Harald]]></dc:creator>
		<pubDate>Mon, 09 May 2016 15:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6169#comment-376237</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-374724&quot;&gt;Alex&lt;/a&gt;.

really need this, thanks]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-374724">Alex</a>.</p>
<p>really need this, thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-374724</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 20 Apr 2016 12:40:32 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6169#comment-374724</guid>

					<description><![CDATA[Hello Yair,

I&#039;m wondering, if there is a possibility to put a new created shortcut to the quick access bar programmatically?
So we can use our shortcuts inside the Matlab-editor, where the quick access bar is also visible.]]></description>
			<content:encoded><![CDATA[<p>Hello Yair,</p>
<p>I&#8217;m wondering, if there is a possibility to put a new created shortcut to the quick access bar programmatically?<br />
So we can use our shortcuts inside the Matlab-editor, where the quick access bar is also visible.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ale		</title>
		<link>https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-368562</link>

		<dc:creator><![CDATA[Ale]]></dc:creator>
		<pubDate>Thu, 28 Jan 2016 17:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6169#comment-368562</guid>

					<description><![CDATA[What about setting a keyboard shortcut for a custom shortcut?
I have some shortcut that I use really often, but I have to click on them all the time...

Ale]]></description>
			<content:encoded><![CDATA[<p>What about setting a keyboard shortcut for a custom shortcut?<br />
I have some shortcut that I use really often, but I have to click on them all the time&#8230;</p>
<p>Ale</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mola		</title>
		<link>https://undocumentedmatlab.com/articles/programmatic-shortcuts-manipulation-part-2#comment-367216</link>

		<dc:creator><![CDATA[Mola]]></dc:creator>
		<pubDate>Mon, 11 Jan 2016 18:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=6169#comment-367216</guid>

					<description><![CDATA[Hi Yair,
Thank you for this post.
Using your customization I wanted to add a new section to a tab.
I tried different things but unfortunately the straightforward-way fails:


&lt;pre lang=&quot;matlab&quot;&gt;
hMainFrame = com.mathworks.mde.desk.MLDesktop.getInstance.getMainFrame;
jToolstrip = hMainFrame.getToolstrip;
jHomeTab = jToolstrip.getModel.get(&#039;home&#039;).getComponent;
jMySection = com.mathworks.toolstrip.sections.FlowToolstripSection(&#039;MySection&#039;);
jHomeTab.add(jMySection);  % error
jHomeTab.repaint();
jHomeTab.revalidate();
&lt;/pre&gt;


Using TSPanel instead of FlowToolstripSection leads to a  ToolstripSectionComponentWrapper casting error when accessing via jHomeTab.getSectionComponent.

Is there an easy way to add a new section to a tab?]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
Thank you for this post.<br />
Using your customization I wanted to add a new section to a tab.<br />
I tried different things but unfortunately the straightforward-way fails:</p>
<pre lang="matlab">
hMainFrame = com.mathworks.mde.desk.MLDesktop.getInstance.getMainFrame;
jToolstrip = hMainFrame.getToolstrip;
jHomeTab = jToolstrip.getModel.get('home').getComponent;
jMySection = com.mathworks.toolstrip.sections.FlowToolstripSection('MySection');
jHomeTab.add(jMySection);  % error
jHomeTab.repaint();
jHomeTab.revalidate();
</pre>
<p>Using TSPanel instead of FlowToolstripSection leads to a  ToolstripSectionComponentWrapper casting error when accessing via jHomeTab.getSectionComponent.</p>
<p>Is there an easy way to add a new section to a tab?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
