Sorry for the delay in getting back to you.
In AppleScript you can:
cleanClipboard
cleanFile
cleanText (which includes variables)
I’m not sure quite how purist you are but it seems relatively pure. I suspect it’s using John Gruber’s solution or a variation of it. Taking Gruber’s difficult titles, the following is the original, and the result having run the Title Case cleaner in TextSoap.
Q&A With Steve Jobs: ‘That’s What Happens In Technology’
Q&A With Steve Jobs: ‘That’s What Happens in Technology’
What Is AT&T’s Problem?
What Is AT&T’s Problem?
Apple Deal With AT&T Falls Through
Apple Deal With AT&T Falls Through
this v that
This v That
this vs that
This vs That
this v. that
This v. That
this vs. that
This vs. That
The SEC’s Apple Probe: What You Need to Know
The SEC’s Apple Probe: What You Need to Know
‘by the Way, small word at the start but within quotes.’
‘By the Way, Small Word at the Start but Within Quotes.’
Small word at end is nothing to be afraid of
Small Word at End Is Nothing to Be Afraid Of
Starting Sub-Phrase With a Small Word: a Trick, Perhaps?
Starting Sub-Phrase With a Small Word: A Trick, Perhaps?
Sub-Phrase With a Small Word in Quotes: ‘a Trick, Perhaps?’
Sub-Phrase With a Small Word in Quotes: ‘A Trick, Perhaps?’
Sub-Phrase With a Small Word in Quotes: “a Trick, Perhaps?”
Sub-Phrase With a Small Word in Quotes: “A Trick, Perhaps?”
“Nothing to Be Afraid of?”
“Nothing to Be Afraid Of?”
“Nothing to Be Afraid Of?”
“Nothing to Be Afraid Of?”
a thing
A Thing