<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Macro of function to capitalize all words in selection]]></title><description><![CDATA[<p dir="auto">Is this even possible with Notepad++??</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14836/macro-of-function-to-capitalize-all-words-in-selection</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 19:51:30 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14836.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 Nov 2017 21:57:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Macro of function to capitalize all words in selection on Sun, 26 Nov 2017 23:36:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a><br />
Thanks for the info.<br />
I updated Notepad++ to v7.5.1 and now I have lots of options! :)</p>
<p dir="auto">Sorry it took so long to reply…<br />
Have to wait 20 minutes between posts because I’m new with no reputation. :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/28292</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28292</guid><dc:creator><![CDATA[Jim Kolb]]></dc:creator><pubDate>Sun, 26 Nov 2017 23:36:50 GMT</pubDate></item><item><title><![CDATA[Reply to Macro of function to capitalize all words in selection on Sun, 26 Nov 2017 23:26:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jim-kolb" aria-label="Profile: Jim-Kolb">@<bdi>Jim-Kolb</bdi></a></p>
<p dir="auto">Well…I hope you didn’t ignore <a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a> 's suggestion because it is easier (and thus better) than my original solution.  That being said, I have these comments:</p>
<p dir="auto">Comment #1:  With the regular expression replacement solution, the macro WILL remember the <strong>In selection</strong> setting.  When you run the macro and you have nothing selected, nothing will happen.</p>
<p dir="auto">Comment #2:  With <a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a> 's solution, if there is nothing selected, the convert-case command will do nothing when run from a macro, and isn’t even selectable via the menus when using the command interactively.</p>
<p dir="auto">Thus, neither way of doing it is like some other Notepad++ commands that run on the whole file if there is no active selection.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/28290</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28290</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sun, 26 Nov 2017 23:26:35 GMT</pubDate></item><item><title><![CDATA[Reply to Macro of function to capitalize all words in selection on Sun, 26 Nov 2017 23:15:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a><br />
Will the macro remember the In-selection checkbox: Ticked?<br />
I’d hate to re-run and have it replace everything :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/28289</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28289</guid><dc:creator><![CDATA[Jim Kolb]]></dc:creator><pubDate>Sun, 26 Nov 2017 23:15:46 GMT</pubDate></item><item><title><![CDATA[Reply to Macro of function to capitalize all words in selection on Sun, 26 Nov 2017 22:52:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jim-kolb" aria-label="Profile: Jim-Kolb">@<bdi>Jim-Kolb</bdi></a></p>
<p dir="auto">if I correctly researched then the commit was made on the 30 Jun 2016 which means<br />
the next version was 7.0.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scott-sumner" aria-label="Profile: Scott-Sumner">@<bdi>Scott-Sumner</bdi></a><br />
Yes Scott, looked like you were in the regex mood :-D<br />
But don’t be afraid, happens to me also too often - trying to solve something<br />
with python script just to find out that it is builtin :-D</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/28287</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28287</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sun, 26 Nov 2017 22:52:10 GMT</pubDate></item><item><title><![CDATA[Reply to Macro of function to capitalize all words in selection on Sun, 26 Nov 2017 22:43:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">Haha…yea, that’s the better option…must be that someone is making me think every problem is best solved with regex.  :)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/28285</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28285</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sun, 26 Nov 2017 22:43:54 GMT</pubDate></item><item><title><![CDATA[Reply to Macro of function to capitalize all words in selection on Sun, 26 Nov 2017 22:37:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/claudia-frank" aria-label="Profile: Claudia-Frank">@<bdi>Claudia-Frank</bdi></a></p>
<p dir="auto">What version is that in?</p>
<p dir="auto">Am I using Notepad++ v6.9.2<br />
and alt +U (Edit-&gt;Convert Case to-&gt;Proper Case) is not available.<br />
Only Upper and Lower cases are there.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/28284</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28284</guid><dc:creator><![CDATA[Jim Kolb]]></dc:creator><pubDate>Sun, 26 Nov 2017 22:37:41 GMT</pubDate></item><item><title><![CDATA[Reply to Macro of function to capitalize all words in selection on Sun, 26 Nov 2017 22:16:42 GMT]]></title><description><![CDATA[<p dir="auto">Or maybe just Alt+U ? (Edit-&gt;Convert Case to-&gt;Proper Case)</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/28280</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28280</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Sun, 26 Nov 2017 22:16:42 GMT</pubDate></item><item><title><![CDATA[Reply to Macro of function to capitalize all words in selection on Sun, 26 Nov 2017 22:09:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jim-kolb" aria-label="Profile: Jim-Kolb">@<bdi>Jim-Kolb</bdi></a></p>
<p dir="auto">You could record the following Replace-All action in a macro.</p>
<p dir="auto">Open the Replace dialog (ctrl+h) and set up the following:</p>
<p dir="auto"><strong>Find-what</strong> zone:  <code>(\w)(\w+)</code><br />
<strong>Replace-with</strong> zone:  <code>\U\1\E\2</code><br />
<strong>Search mode</strong>: Regular expression<br />
<strong>In-selection</strong> checkbox: Ticked</p>
<p dir="auto"><em><strong>(…start macro recording here…)</strong></em><br />
Action: Press the <strong>Replace All</strong> button<br />
<em><strong>(…end macro recording here…test/save/name/playback your macro…)</strong></em></p>
]]></description><link>https://community.notepad-plus-plus.org/post/28279</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28279</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sun, 26 Nov 2017 22:09:03 GMT</pubDate></item></channel></rss>