<?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"
	>
<channel>
	<title>Comments on: Using GREP to Make a Character Lowercase</title>
	<atom:link href="http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php/rss2" rel="self" type="application/rss+xml" />
	<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php</link>
	<description>InDesignSecrets Blog and Podcast</description>
	<pubDate>Fri, 09 Jan 2009 21:57:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Harbs</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466588</link>
		<dc:creator>Harbs</dc:creator>
		<pubDate>Tue, 15 Jul 2008 23:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466588</guid>
		<description>Just stopped back in now...

To run the above script on all open documents, just change the first line to:
finds = app.findGrep();</description>
		<content:encoded><![CDATA[<p>Just stopped back in now&#8230;</p>
<p>To run the above script on all open documents, just change the first line to:<br />
finds = app.findGrep();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S.C.Shaw</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466549</link>
		<dc:creator>S.C.Shaw</dc:creator>
		<pubDate>Tue, 15 Jul 2008 11:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466549</guid>
		<description>Figured it out. 

Double-clicked on Harbs CapsToSmallCaps script which opened my ExtendScript Toolkit 2 app.

Copied/pasted below text

finds = app.documents[0].findGrep();
for(i=0;i&#60;finds.length;i++){
finds[i].contents=finds[i].contents.toLowerCase();
}

into a new script window, saved new script into IDCS3 scripts folder, did the GREP search, ran the script, PERFECT!!!
GENIUS!
PRICELESS!!

Thank you again.</description>
		<content:encoded><![CDATA[<p>Figured it out. </p>
<p>Double-clicked on Harbs CapsToSmallCaps script which opened my ExtendScript Toolkit 2 app.</p>
<p>Copied/pasted below text</p>
<p>finds = app.documents[0].findGrep();<br />
for(i=0;i&lt;finds.length;i++){<br />
finds[i].contents=finds[i].contents.toLowerCase();<br />
}</p>
<p>into a new script window, saved new script into IDCS3 scripts folder, did the GREP search, ran the script, PERFECT!!!<br />
GENIUS!<br />
PRICELESS!!</p>
<p>Thank you again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S.C.Shaw</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466547</link>
		<dc:creator>S.C.Shaw</dc:creator>
		<pubDate>Tue, 15 Jul 2008 11:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466547</guid>
		<description>Thanks guys for all the input. 

Being new to this scripting angle, is the displayed example script (not the smallcaps zipped one) from Harbs a Java script?

If so I simple must copy and paste his text into BBEdit and save the file with an extension of .jsx and move it into my IDCS3 scripts folder?</description>
		<content:encoded><![CDATA[<p>Thanks guys for all the input. </p>
<p>Being new to this scripting angle, is the displayed example script (not the smallcaps zipped one) from Harbs a Java script?</p>
<p>If so I simple must copy and paste his text into BBEdit and save the file with an extension of .jsx and move it into my IDCS3 scripts folder?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene Tyson</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466508</link>
		<dc:creator>Eugene Tyson</dc:creator>
		<pubDate>Mon, 14 Jul 2008 13:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466508</guid>
		<description>Or just an action panel would do. 

Find GREP. Run Script. Repeat until done.

Then of course you could have many more actions saved, removing the need to repeat yourself in InDesign.

OR, you of course could have the option for lowercase in the field of cases in the change format dialog box.</description>
		<content:encoded><![CDATA[<p>Or just an action panel would do. </p>
<p>Find GREP. Run Script. Repeat until done.</p>
<p>Then of course you could have many more actions saved, removing the need to repeat yourself in InDesign.</p>
<p>OR, you of course could have the option for lowercase in the field of cases in the change format dialog box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Blatner</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466507</link>
		<dc:creator>David Blatner</dc:creator>
		<pubDate>Mon, 14 Jul 2008 13:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466507</guid>
		<description>Harbs, that's a fascinating script! It is very clever to let the user type the GREP into the Find/Change dialog box, then you grab what they typed and use it in your script. Seems to work great.

Makes me think: It would be so cool if there were a "run this script on All" button inside the Find/Change dialog box. Interesting...</description>
		<content:encoded><![CDATA[<p>Harbs, that&#8217;s a fascinating script! It is very clever to let the user type the GREP into the Find/Change dialog box, then you grab what they typed and use it in your script. Seems to work great.</p>
<p>Makes me think: It would be so cool if there were a &#8220;run this script on All&#8221; button inside the Find/Change dialog box. Interesting&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harbs</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466495</link>
		<dc:creator>Harbs</dc:creator>
		<pubDate>Sun, 13 Jul 2008 21:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466495</guid>
		<description>To convert a grep to lowercase (and have it work on variable text), you need a script. Here's a script I recently wrote which uses this technique to convert all caps to small caps:
http://www.in-tools.com/indesign/scripts/freeware/CapsToSmallCaps.zip.

To convert an grep to lowercase in your current doc, set your grep in the dialog, and run this script:

&lt;code&gt;
finds = app.documents[0].findGrep();
for(i=0;i&#60;finds.length;i++){
	finds[i].contents=finds[i].contents.toLowerCase();
	}
&lt;/code&gt;

Harbs</description>
		<content:encoded><![CDATA[<p>To convert a grep to lowercase (and have it work on variable text), you need a script. Here&#8217;s a script I recently wrote which uses this technique to convert all caps to small caps:<br />
<a href="http://www.in-tools.com/indesign/scripts/freeware/CapsToSmallCaps.zip" rel="nofollow">http://www.in-tools.com/indesign/scripts/freeware/CapsToSmallCaps.zip</a>.</p>
<p>To convert an grep to lowercase in your current doc, set your grep in the dialog, and run this script:</p>
<p><code><br />
finds = app.documents[0].findGrep();<br />
for(i=0;i&lt;finds.length;i++){<br />
	finds[i].contents=finds[i].contents.toLowerCase();<br />
	}<br />
</code></p>
<p>Harbs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466484</link>
		<dc:creator>Eugene</dc:creator>
		<pubDate>Sun, 13 Jul 2008 14:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466484</guid>
		<description>Mike:  

You can just search for normal text, you won't need GREP.  In the find format section you can just search for BASIC CHARACTER STYLE&#62;CASE&#62;ALL CAPS

And Replace Format with BASIC CHARACTER STYLE&#62;CASE&#62;NORMAL

Keep in mind that the caps text refers to sections of the Find Format and Change Format of the find panel.


Simon:

There isn't a way to change a character style to lower case, you would need a script to do this.

S.C.Shaw

This grep search will find all uppercase letters in between words, but I can't think of a way to make them lowercase.

(?!\b)(\u+)</description>
		<content:encoded><![CDATA[<p>Mike:  </p>
<p>You can just search for normal text, you won&#8217;t need GREP.  In the find format section you can just search for BASIC CHARACTER STYLE&gt;CASE&gt;ALL CAPS</p>
<p>And Replace Format with BASIC CHARACTER STYLE&gt;CASE&gt;NORMAL</p>
<p>Keep in mind that the caps text refers to sections of the Find Format and Change Format of the find panel.</p>
<p>Simon:</p>
<p>There isn&#8217;t a way to change a character style to lower case, you would need a script to do this.</p>
<p>S.C.Shaw</p>
<p>This grep search will find all uppercase letters in between words, but I can&#8217;t think of a way to make them lowercase.</p>
<p>(?!\b)(\u+)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S.C.Shaw</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466474</link>
		<dc:creator>S.C.Shaw</dc:creator>
		<pubDate>Sun, 13 Jul 2008 00:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-466474</guid>
		<description>How do you fix a typo when an uppercase character has been typed between two lowercase characters such as:

HeLlo

to this:

Hello

I’ve tried all the variations in this blog archive, been able to isolate the uppercase L but cannot figure how to change it to a lowercase L.

Appreciate any answer.</description>
		<content:encoded><![CDATA[<p>How do you fix a typo when an uppercase character has been typed between two lowercase characters such as:</p>
<p>HeLlo</p>
<p>to this:</p>
<p>Hello</p>
<p>I’ve tried all the variations in this blog archive, been able to isolate the uppercase L but cannot figure how to change it to a lowercase L.</p>
<p>Appreciate any answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Soenens</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-384135</link>
		<dc:creator>Simon Soenens</dc:creator>
		<pubDate>Tue, 29 Apr 2008 07:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-384135</guid>
		<description>Is it at all possible to change a certain character style to lowercase?</description>
		<content:encoded><![CDATA[<p>Is it at all possible to change a certain character style to lowercase?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Witherell</title>
		<link>http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-282358</link>
		<dc:creator>Mike Witherell</dc:creator>
		<pubDate>Sun, 03 Feb 2008 15:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/using-grep-to-make-a-character-lowercase.php#comment-282358</guid>
		<description>After listening to podcast number 70, I find that there is still no answer to the basic question: 

How do you Search for entire paragraphs of ALL CAPPED text and convert it all to lowercase, sentencecase, or titlecase? 

In many text situations, there are paragraphs occurring throughout text where the writer used ALL CAPS. 

An ideal GREP search would find all uppercase words in the entire paragraph; convert to another case; then move on to find the next randomly-occurring paragraph with the same affliction.

I can't get InDesign CS3 to do it, yet. I noticed David began to comment on that aspect in the podcast (70) and then Anne Marie steered the conversation in a different direction.

This need seems so essential to me, that it leaves me thinking that GREP search would certainly allow for this. 

From what I've read, other GREP softwares CAN do this, but InDesign cannot. 

What are others finding on this?

Mike Witherell in Maryland</description>
		<content:encoded><![CDATA[<p>After listening to podcast number 70, I find that there is still no answer to the basic question: </p>
<p>How do you Search for entire paragraphs of ALL CAPPED text and convert it all to lowercase, sentencecase, or titlecase? </p>
<p>In many text situations, there are paragraphs occurring throughout text where the writer used ALL CAPS. </p>
<p>An ideal GREP search would find all uppercase words in the entire paragraph; convert to another case; then move on to find the next randomly-occurring paragraph with the same affliction.</p>
<p>I can&#8217;t get InDesign CS3 to do it, yet. I noticed David began to comment on that aspect in the podcast (70) and then Anne Marie steered the conversation in a different direction.</p>
<p>This need seems so essential to me, that it leaves me thinking that GREP search would certainly allow for this. </p>
<p>From what I&#8217;ve read, other GREP softwares CAN do this, but InDesign cannot. </p>
<p>What are others finding on this?</p>
<p>Mike Witherell in Maryland</p>
]]></content:encoded>
	</item>
</channel>
</rss>
