<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>ClipboardFusion RSS: Advanced title case macro</title>
<atom:link href="https://www.clipboardfusion.com/Discussions/RSS/?TopicID=f057b431-3952-4397-8025-268cc330a7bc" rel="self" type="application/rss+xml" />
<link>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=f057b431-3952-4397-8025-268cc330a7bc</link>
<description>ClipboardFusion RSS: Advanced title case macro</description>
<lastBuildDate>Tue, 16 Jun 2026 01:24:34 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=f057b431-3952-4397-8025-268cc330a7bc</generator>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#41</link>
<pubDate>Thu, 07 Nov 2019 20:54:11 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#41</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Ok, try this one]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, try this one <img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#40</link>
<pubDate>Thu, 07 Nov 2019 01:42:50 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#40</guid>
<category>ClipboardFusion</category>
<description><![CDATA[OK!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
OK!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#39</link>
<pubDate>Tue, 05 Nov 2019 16:00:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#39</guid>
<category>ClipboardFusion</category>
<description><![CDATA[I don't think the export worked. I tried importing it but it's just a blank Macro. Could you try again?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I don't think the export worked. I tried importing it but it's just a blank Macro. Could you try again?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#38</link>
<pubDate>Tue, 05 Nov 2019 04:29:22 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#38</guid>
<category>ClipboardFusion</category>
<description><![CDATA[That worked! I've now realized that the change to Title Case macro you made for me has two problems. First, it incorrectly capitalizes the final "s" in titles with possessives, so "the critic´s share" becomes "The Critic´S Share". Also, I tried to modify it to change smart apostrophes to dumb one...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
That worked! I've now realized that the change to Title Case macro you made for me has two problems. First, it incorrectly capitalizes the final "s" in titles with possessives, so "the critic´s share" becomes "The Critic´S Share". Also, I tried to modify it to change smart apostrophes to dumb ones, but it's not working. I've attached the macro. Can you suggest a fix?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#37</link>
<pubDate>Thu, 24 Oct 2019 18:59:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#37</guid>
<category>ClipboardFusion</category>
<description><![CDATA[The middle quote mark in the replace text needs to be escaped with a backslash, like this:
Code
Copy
Select All
text = text.Replace("“", "\"");
text = text.Replace("”", "\"");]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
The middle quote mark in the replace text needs to be escaped with a backslash, like this:<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019ece07bcd2767cbd8aea8a93d4ffcc" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ece07bcd2767cbd8aea8a93d4ffccJs'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019ece07bcd2767cbd8aea8a93d4ffccJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">text = text.Replace("“", "\"");
text = text.Replace("”", "\"");</pre><textarea id="code019ece07bcd2767cbd8aea8a93d4ffcc" name="code019ece07bcd2767cbd8aea8a93d4ffcc" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#36</link>
<pubDate>Thu, 24 Oct 2019 09:05:42 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#36</guid>
<category>ClipboardFusion</category>
<description><![CDATA[OK, in an attempt to make this the longest thread on the forum, I have another question. I had a title that wouldn't capitalize properly because it used a "smart" apostrophe rather than a normal one. So "Where’s the X?" came out as "Where’S the x?". I tried changing the macro to replace smart apo...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
OK, in an attempt to make this the longest thread on the forum, I have another question. I had a title that wouldn't capitalize properly because it used a "smart" apostrophe rather than a normal one. So "Where’s the X?" came out as "Where’S the x?". I tried changing the macro to replace smart apostrophes with this:<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019ece07bcdd7711b8c4b0efcc7c780e" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ece07bcdd7711b8c4b0efcc7c780eJs'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019ece07bcdd7711b8c4b0efcc7c780eJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">// Fix smart apostrophes
text = text.Replace("’", "'");</pre><textarea id="code019ece07bcdd7711b8c4b0efcc7c780e" name="code019ece07bcdd7711b8c4b0efcc7c780e" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
That worked, but I also want to fix smart quotes, and the following code fails to compile:<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019ece07bcdf7493a701bb80d172c5cf" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ece07bcdf7493a701bb80d172c5cfJs'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019ece07bcdf7493a701bb80d172c5cfJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">text = text.Replace("“", """);
text = text.Replace("”", """);</pre><textarea id="code019ece07bcdf7493a701bb80d172c5cf" name="code019ece07bcdf7493a701bb80d172c5cf" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
<br/>
How can I fix that? Thanks.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#35</link>
<pubDate>Tue, 17 Sep 2019 18:37:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#35</guid>
<category>ClipboardFusion</category>
<description><![CDATA[I forgot to add the word boundary check in when I re-did the script, so it was matching on the "US" exception word again.
I introduced another bug when I did that yesterday, but I've fixed that up now too. Please try this one out]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I forgot to add the word boundary check in when I re-did the script, so it was matching on the "US" exception word again.<br/>
<br/>
I introduced another bug when I did that yesterday, but I've fixed that up now too. Please try this one out <img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#34</link>
<pubDate>Tue, 17 Sep 2019 01:54:10 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#34</guid>
<category>ClipboardFusion</category>
<description><![CDATA[It works! If it's easy to explain, I'd love to know what you did that fixed it.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
It works! If it's easy to explain, I'd love to know what you did that fixed it.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#33</link>
<pubDate>Mon, 16 Sep 2019 15:09:43 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#33</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Sorry for the delay on this. Could you try this updated version?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Sorry for the delay on this. Could you try this updated version?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#32</link>
<pubDate>Sat, 14 Sep 2019 05:37:16 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#32</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Just following up on the last message. I just got another example: it changes "Seeing Ourselves Through Technology: How We Use Selfies, Blogs and Wearable Devices to See and Shape Ourselves" into "Seeing ourselves through technology: How we Use selfies, blogs and wearable devices to see and shape...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Just following up on the last message. I just got another example: it changes "Seeing Ourselves Through Technology: How We Use Selfies, Blogs and Wearable Devices to See and Shape Ourselves" into "Seeing ourselves through technology: How we Use selfies, blogs and wearable devices to see and shape ourselves"<br/>
<br/>
No idea why the "Use" is capitalized in the 2nd case.<br/>
<br/>
I have again attached my script. Thanks.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#31</link>
<pubDate>Mon, 26 Aug 2019 05:29:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#31</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Hi, 117 doesn't look like that. I've attached my version. But now it changes "The Psychological Functions of Justice in Mass Media" into "The psychological functions of Justice in mass media", which is better but still not what I'm trying to get. Your help is very appreciated!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi, 117 doesn't look like that. I've attached my version. But now it changes "The Psychological Functions of Justice in Mass Media" into "The psychological functions of Justice in mass media", which is better but still not what I'm trying to get. Your help is very appreciated!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#30</link>
<pubDate>Mon, 29 Jul 2019 13:45:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#30</guid>
<category>ClipboardFusion</category>
<description><![CDATA[That's strange, because I made it check for a space before and after the exception word. Does line 114 look like this?
Code
Copy
Select All
finalOutput = finalOutput.Replace(" " + exceptionWord.ToLower() + " ", " " + exceptionWord + " ");]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
That's strange, because I made it check for a space before and after the exception word. Does line 114 look like this?<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019ece07bd0d76d783fb13d3a9e4649b" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ece07bd0d76d783fb13d3a9e4649bJs'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019ece07bd0d76d783fb13d3a9e4649bJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">finalOutput = finalOutput.Replace(" " + exceptionWord.ToLower() + " ", " " + exceptionWord + " ");</pre><textarea id="code019ece07bd0d76d783fb13d3a9e4649b" name="code019ece07bd0d76d783fb13d3a9e4649b" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#29</link>
<pubDate>Sat, 27 Jul 2019 01:53:51 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#29</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Thanks for the macro. When I run the macro on "The Psychological Functions of Justice in Mass Media" I get "The psychological functions of jUStice in mass media", presumably because "US" is in the exceptions list. I suppose if you are going to re-capitalize the exceptions items, you will need to ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for the macro. When I run the macro on "The Psychological Functions of Justice in Mass Media" I get "The psychological functions of jUStice in mass media", presumably because "US" is in the exceptions list. I suppose if you are going to re-capitalize the exceptions items, you will need to check that they are stand-alone words.<br/>
<br/>
BTW, would you mind removing my personal name from the macro name you attached? I tried to change it in the one I attached but I guess it was in the code somehow. Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#28</link>
<pubDate>Fri, 26 Jul 2019 17:04:28 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#28</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Ok, could you try this one out and let me know how it goes? I also fixed a bug where it wouldn't capitalize exception words if they had a space in them.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, could you try this one out and let me know how it goes? I also fixed a bug where it wouldn't capitalize exception words if they had a space in them.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#27</link>
<pubDate>Fri, 26 Jul 2019 16:32:04 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#27</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Weird! When I run my original version, "justice" doesn't get capitalized, but when I run yours, it does. I'll have a look at this and see what I can find out.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Weird! When I run my original version, "justice" doesn't get capitalized, but when I run yours, it does. I'll have a look at this and see what I can find out.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#26</link>
<pubDate>Fri, 26 Jul 2019 03:13:19 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#26</guid>
<category>ClipboardFusion</category>
<description><![CDATA[The macro is generally working but is producing a mistake I can't explain. For the text string, "The Psychological Functions of Justice in Mass Media", when I run the macro, I get "The psychological functions of Justice in mass media" with the word "Justice" capitalized. It should not be capitali...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
The macro is generally working but is producing a mistake I can't explain. For the text string, "The Psychological Functions of Justice in Mass Media", when I run the macro, I get "The psychological functions of Justice in mass media" with the word "Justice" capitalized. It should not be capitalized. I that word is not in the list of exceptions. Can you explain? I've attached my version with a longer list of exceptions than the one you sent me. Thanks!<br/>
<br/>
Edit: another example: "Universal Morality, Mediated Narratives, and Neural Synchrony" becomes "Universal morality, mediated narratives, and Neural synchrony" - "Neural" is mistakenly capitalized. But "A Model of Intuitive Morality and Exemplars" correctly becomes "A model of intuitive morality and exemplars". So weird.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#25</link>
<pubDate>Mon, 08 Jul 2019 18:04:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#25</guid>
<category>ClipboardFusion</category>
<description><![CDATA[You'll need to add the || (which means "or") to the end of the existing line, then add your next condition, like this:
Code
Copy
Select All
if (words[i - 1].EndsWith(":", StringComparison.OrdinalIgnoreCase) ||
words[i - 1].EndsWith("-", StringComparison.OrdinalIgnoreCase) ||
words[i - 1].En...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You'll need to add the || (which means "or") to the end of the existing line, then add your next condition, like this:<br/>
<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019ece07bd3571e0a87a1e7555a62ffd" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ece07bd3571e0a87a1e7555a62ffdJs'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019ece07bd3571e0a87a1e7555a62ffdJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">if (words[i - 1].EndsWith(":", StringComparison.OrdinalIgnoreCase) ||
words[i - 1].EndsWith("-", StringComparison.OrdinalIgnoreCase) ||
words[i - 1].EndsWith("?", StringComparison.OrdinalIgnoreCase)</pre><textarea id="code019ece07bd3571e0a87a1e7555a62ffd" name="code019ece07bd3571e0a87a1e7555a62ffd" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#24</link>
<pubDate>Mon, 08 Jul 2019 07:47:27 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#24</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Great work! Just one question about modifying it. It currently reads:
// Capitalize words after colons or hyphens
if     (words[i - 1].EndsWith(":", StringComparison.OrdinalIgnoreCase) ||
words[i - 1].EndsWith("-", StringComparison.OrdinalIgnoreCase)
What do I add if I want to also capitalize...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Great work! Just one question about modifying it. It currently reads:<br/>
// Capitalize words after colons or hyphens<br/>
if     (words[i - 1].EndsWith(":", StringComparison.OrdinalIgnoreCase) ||<br/>
    words[i - 1].EndsWith("-", StringComparison.OrdinalIgnoreCase)<br/>
<br/>
What do I add if I want to also capitalize words after questions marks or other punctuation? I tried to fix it myself but it didn't work.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#23</link>
<pubDate>Wed, 03 Jul 2019 19:47:16 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#23</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Ok, I've completely re-written this macro, hopefully it's what you're looking for. If not, please let me know. Small tweaks should be much easier now.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, I've completely re-written this macro, hopefully it's what you're looking for. If not, please let me know. Small tweaks should be much easier now.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#22</link>
<pubDate>Fri, 19 Apr 2019 12:11:51 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#22</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Sorry for the delay, some how this dropped off my list of open requests!
To be totally honest, it is starting to get a bit complicated to handle all of the different usage cases for this Macro, but I'll see what I can do. I'll have another look at it later next week hopefully]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Sorry for the delay, some how this dropped off my list of open requests!<br/>
<br/>
To be totally honest, it is starting to get a bit complicated to handle all of the different usage cases for this Macro, but I'll see what I can do. I'll have another look at it later next week hopefully <img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#21</link>
<pubDate>Thu, 18 Apr 2019 00:42:10 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#21</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Hi, it's been a month, so just wanted to bump this thread in case it was forgotten.
Also, one other question. In the list of words to capitalize, I'm finding that two-word phrases like "Hong Kong" are not being capitalized. Is it because they are two words, or is there some other explanation? Is...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi, it's been a month, so just wanted to bump this thread in case it was forgotten.<br/>
<br/>
Also, one other question. In the list of words to capitalize, I'm finding that two-word phrases like "Hong Kong" are not being capitalized. Is it because they are two words, or is there some other explanation? Is there any way to capitalize two-word phrases?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#20</link>
<pubDate>Fri, 15 Mar 2019 05:04:49 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#20</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Thanks again! I have it basically working and even modified it to deal with question marks etc. in addition to just the colon. One problem is that after running the macro on text, it leaves the cursor on the next line after the text. Can this be corrected so it remains at the end of the bottom pa...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks again! I have it basically working and even modified it to deal with question marks etc. in addition to just the colon. One problem is that after running the macro on text, it leaves the cursor on the next line after the text. Can this be corrected so it remains at the end of the bottom pasted line?<br/>
<br/>
I am also having a problem with one other modification. I want it to capitalize words following a hyphen and a space - "- " but not after hyphens that are not followed by space - "north-east". I tried this in line 97 of the attached macro but it isn't working. Is it possible to do what I want?<br/>
<br/>
edit: also, it doesn't capitalize correctly after a numeral not followed by a period. So it does turn "5. test" into "5. Test", but it doesn't turn "5 test" into "5 Test". Can this be corrected?<br/>
<br/>
I'm sorry if I'm asking for too much support on this macro--let me know. It has been very helpful for me!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#19</link>
<pubDate>Tue, 12 Mar 2019 15:36:31 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#19</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Alrighty, I'm sure the script is messy and can probably be done a bit better, but this should at least work]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Alrighty, I'm sure the script is messy and can probably be done a bit better, but this should at least work <img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#18</link>
<pubDate>Tue, 05 Mar 2019 19:11:58 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#18</guid>
<category>ClipboardFusion</category>
<description><![CDATA[It should be possible, I will have a look at it when I get a chance. It might not be until next week though.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
It should be possible, I will have a look at it when I get a chance. It might not be until next week though.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Advanced title case macro</title>
<link>https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#17</link>
<pubDate>Sat, 02 Mar 2019 05:59:00 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/advanced-title-case-macro/?ID=f057b431-3952-4397-8025-268cc330a7bc#17</guid>
<category>ClipboardFusion</category>
<description><![CDATA[I'm back with 2 more improvement requests.
First, can this be modified to ignore any leading non-alphabetic characters and capitalize the first alphabetic character? So running it on:
5. this is the title
or
- my first bullet point
would produce
5. This is the title
and
- My first bullet ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm back with 2 more improvement requests. <br/>
<br/>
First, can this be modified to ignore any leading non-alphabetic characters and capitalize the first alphabetic character? So running it on:<br/>
<br/>
5. this is the title<br/>
or<br/>
- my first bullet point<br/>
<br/>
would produce<br/>
<br/>
5. This is the title<br/>
and<br/>
- My first bullet point<br/>
<br/>
Second, can this be modified to treat every line as a separate instance to be capitalized? So I could highlight the entirety of:<br/>
<br/>
- title one<br/>
- title two<br/>
- title three<br/>
<br/>
And in one keystroke get:<br/>
<br/>
- Title one<br/>
- Title two<br/>
- Title three<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
</channel>
</rss>