<?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: Adventures in GREPland</title>
	<atom:link href="http://indesignsecrets.com/adventures-in-grepland.php/feed" rel="self" type="application/rss+xml" />
	<link>http://indesignsecrets.com/adventures-in-grepland.php</link>
	<description>InDesignSecrets Blog and Podcast</description>
	<lastBuildDate>Wed, 23 May 2012 08:57:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mattwrite</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-476510</link>
		<dc:creator>mattwrite</dc:creator>
		<pubDate>Wed, 08 Jul 2009 20:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-476510</guid>
		<description>So, I am a newbie to GREP (watched a bunch of the tutorials and am trying some of it out), and have a question... I want to target URLs and apply a character style. Is it possible to set a GREP style to target http (when it appears), www (when it appears) and characters separated with the &quot;dot&quot; (e.g. in .com)?</description>
		<content:encoded><![CDATA[<p>So, I am a newbie to GREP (watched a bunch of the tutorials and am trying some of it out), and have a question&#8230; I want to target URLs and apply a character style. Is it possible to set a GREP style to target http (when it appears), www (when it appears) and characters separated with the &#8220;dot&#8221; (e.g. in .com)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Hebert</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-475391</link>
		<dc:creator>Mark Hebert</dc:creator>
		<pubDate>Mon, 04 May 2009 14:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-475391</guid>
		<description>OK, I got FindChangeByList.jsx to work exactly the way I wanted it to after looking through the Scripts forum at Adobe.com. Now it works great! You just need to make sure everything is perfect. First, make sure all your styles are spelled the same in the script text file as in the Styles Panel. Then open the ExtendScript Toolkit (ESTK), not from within InDesign but from Windows Explorer (I&#039;m on WinXP) and it somehow initializes things. You can also shut down and restart InDesign if things aren&#039;t working. Worked perfect after that.

I got it to find the exact text string formatted in the exact style sheet and change the text to a character style, per our in-house style rules. Huge time and headache saver.

One caveat though, Java script does not support some GREP functions at all. I was trying to find specifically styled paragraphs with no period at the end and place a period there   — Find/Change worked (and I saved it!) but  FindChangeByList.jsx didn&#039;t.</description>
		<content:encoded><![CDATA[<p>OK, I got FindChangeByList.jsx to work exactly the way I wanted it to after looking through the Scripts forum at Adobe.com. Now it works great! You just need to make sure everything is perfect. First, make sure all your styles are spelled the same in the script text file as in the Styles Panel. Then open the ExtendScript Toolkit (ESTK), not from within InDesign but from Windows Explorer (I&#8217;m on WinXP) and it somehow initializes things. You can also shut down and restart InDesign if things aren&#8217;t working. Worked perfect after that.</p>
<p>I got it to find the exact text string formatted in the exact style sheet and change the text to a character style, per our in-house style rules. Huge time and headache saver.</p>
<p>One caveat though, Java script does not support some GREP functions at all. I was trying to find specifically styled paragraphs with no period at the end and place a period there   — Find/Change worked (and I saved it!) but  FindChangeByList.jsx didn&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenneth Sena</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-474421</link>
		<dc:creator>Kenneth Sena</dc:creator>
		<pubDate>Fri, 27 Mar 2009 22:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-474421</guid>
		<description>thanks for this tips. this is a great help for all the people working on their online works. keep it up</description>
		<content:encoded><![CDATA[<p>thanks for this tips. this is a great help for all the people working on their online works. keep it up</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Hebert</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-474387</link>
		<dc:creator>Mark Hebert</dc:creator>
		<pubDate>Thu, 26 Mar 2009 17:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-474387</guid>
		<description>Thanks Anne-Marie,

OK. I figured it out. I tried adding the &#039;all&#039; and &#039;once&#039; option like Cari said and I got error messages saying the option was incomplete. I figured since her article was Nov. 05 and I was on CS4 that things had changed quite a bit in my version. So I looked at the sample txt file and just added the {wholeWord:false} option at the end before the comment and that did the trick (what ever &#039;wholeWord:false&#039; means). This is maybe something that could use more of a current write-up. I understand Olav wrote this and his input would help and I&#039;d be willing to to do the drudge work. 

This is my biggest pet peeve with programmers, they must figure everyone else thinks like they do. It  reminds me of a utility someone wrote to import EPS files into PowerAnimator years ago. The programmer never wrote a manual or guide to the features and short-cut keys so when the company lost contact with him and the staff who knew this program left, they couldn&#039;t figure out how to get EPS art into their projects. Maybe they upgraded to Maya ($50,000 a seat back then) to solve it.</description>
		<content:encoded><![CDATA[<p>Thanks Anne-Marie,</p>
<p>OK. I figured it out. I tried adding the &#8216;all&#8217; and &#8216;once&#8217; option like Cari said and I got error messages saying the option was incomplete. I figured since her article was Nov. 05 and I was on CS4 that things had changed quite a bit in my version. So I looked at the sample txt file and just added the {wholeWord:false} option at the end before the comment and that did the trick (what ever &#8216;wholeWord:false&#8217; means). This is maybe something that could use more of a current write-up. I understand Olav wrote this and his input would help and I&#8217;d be willing to to do the drudge work. </p>
<p>This is my biggest pet peeve with programmers, they must figure everyone else thinks like they do. It  reminds me of a utility someone wrote to import EPS files into PowerAnimator years ago. The programmer never wrote a manual or guide to the features and short-cut keys so when the company lost contact with him and the staff who knew this program left, they couldn&#8217;t figure out how to get EPS art into their projects. Maybe they upgraded to Maya ($50,000 a seat back then) to solve it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne-Marie</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-474385</link>
		<dc:creator>Anne-Marie</dc:creator>
		<pubDate>Thu, 26 Mar 2009 16:05:18 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-474385</guid>
		<description>Hmm. I can’t figure out how to stop Word Press from curling the quotes. (I thought the “code” tag would work, but it doesn’t. Neither does the “blockquote” tag.) I even copied/pasted from Text Wrangler where I was certain they weren’t curly, that didn’t work either.

We’ll check to see if we can fix this. Thanks for your patience.</description>
		<content:encoded><![CDATA[<p>Hmm. I can’t figure out how to stop Word Press from curling the quotes. (I thought the “code” tag would work, but it doesn’t. Neither does the “blockquote” tag.) I even copied/pasted from Text Wrangler where I was certain they weren’t curly, that didn’t work either.</p>
<p>We’ll check to see if we can fix this. Thanks for your patience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Hebert</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-474380</link>
		<dc:creator>Mark Hebert</dc:creator>
		<pubDate>Thu, 26 Mar 2009 15:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-474380</guid>
		<description>Mike and Dave ,

Thank you for your help. Coding is the bane of my graphic design existence, since the Math school was no where near the Art school at college and we had no computers then. It is not that I can&#039;t do it once I get the straight info on how (learned HTML in a weekend). It is just so nit picky frustrating sometimes and I have no one to go to but here. 

I used Notepad to make the file, so it really is straight quotes, it is this blog editor that won&#039;t let me place straight quotes.
I still get &#039;Java Script Error! Error Number: 25., etc.&#039; I looked for any special characters that might have crept in. I&#039;m using ID CS4 on WinXP. I&#039;d try it on my Mac at home but I don&#039;t have CS4, only CS.</description>
		<content:encoded><![CDATA[<p>Mike and Dave ,</p>
<p>Thank you for your help. Coding is the bane of my graphic design existence, since the Math school was no where near the Art school at college and we had no computers then. It is not that I can&#8217;t do it once I get the straight info on how (learned HTML in a weekend). It is just so nit picky frustrating sometimes and I have no one to go to but here. </p>
<p>I used Notepad to make the file, so it really is straight quotes, it is this blog editor that won&#8217;t let me place straight quotes.<br />
I still get &#8216;Java Script Error! Error Number: 25., etc.&#8217; I looked for any special characters that might have crept in. I&#8217;m using ID CS4 on WinXP. I&#8217;d try it on my Mac at home but I don&#8217;t have CS4, only CS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Nordby</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-474375</link>
		<dc:creator>Klaus Nordby</dc:creator>
		<pubDate>Thu, 26 Mar 2009 13:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-474375</guid>
		<description>Mike, this is a simple and ingenious trick -- so many thanks!</description>
		<content:encoded><![CDATA[<p>Mike, this is a simple and ingenious trick &#8212; so many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Saunders</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-474355</link>
		<dc:creator>Dave Saunders</dc:creator>
		<pubDate>Wed, 25 Mar 2009 21:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-474355</guid>
		<description>Mark,

It&#039;s not clear where those smart double-quotes came from, but if they&#039;re in your original, that&#039;s the cause of the problem.

Dave</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>It&#8217;s not clear where those smart double-quotes came from, but if they&#8217;re in your original, that&#8217;s the cause of the problem.</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Rankin</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-474349</link>
		<dc:creator>Mike Rankin</dc:creator>
		<pubDate>Wed, 25 Mar 2009 18:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-474349</guid>
		<description>Mark-

Would it make you feel better or worse to know that  your expression works for me in FindChangeByList? 

The only difference I can see is that I&#039;m using AppleScript and you&#039;re in Javascript. I don&#039;t know what the Javascript rules are for escaping characters, maybe that&#039;s it. 

In general, I also had all kinds of problems with FindChangeByList until I started using BBEdit to work with the txt file, and I could see my invisibles. Are you sure there&#039;s not a return after &quot;product&quot;? Good luck.</description>
		<content:encoded><![CDATA[<p>Mark-</p>
<p>Would it make you feel better or worse to know that  your expression works for me in FindChangeByList? </p>
<p>The only difference I can see is that I&#8217;m using AppleScript and you&#8217;re in Javascript. I don&#8217;t know what the Javascript rules are for escaping characters, maybe that&#8217;s it. </p>
<p>In general, I also had all kinds of problems with FindChangeByList until I started using BBEdit to work with the txt file, and I could see my invisibles. Are you sure there&#8217;s not a return after &#8220;product&#8221;? Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Hebert</title>
		<link>http://indesignsecrets.com/adventures-in-grepland.php/comment-page-1#comment-474347</link>
		<dc:creator>Mark Hebert</dc:creator>
		<pubDate>Wed, 25 Mar 2009 18:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/?p=2690#comment-474347</guid>
		<description>Mike-

My adventures in GREPland may need a little hand holding. I need to find specific text and apply a character style. Not rocket science and it works in Find/Change GREP tab very well. I can&#039;t get FindChangeByList to find multiple product names (single and multiple word) which I am led to believe it was meant to do. The documentation for FindChangeByList is sparse, to put it mildly. Cari Jansen&#039;s article is no help. All I get for my effort is an error message &quot;Java Script Error! Error Number: 25., etc.&quot; I&#039;ve looked over the code until I&#039;m blind. So please check this out an let me know if I&#039;m nuts or not.

//FindChangeList_test.txt
//
grep	{findWhat:&quot;adobe creative suite[&#039;]s&#124;adobe creative suite&quot;}	
{appliedCharacterStyle:&quot;Product Name Italic&quot;}	Find all adobe creative suite product 
names and make Italic.

I&#039;ve tabbed between like I&#039;m suppose to. No joy.</description>
		<content:encoded><![CDATA[<p>Mike-</p>
<p>My adventures in GREPland may need a little hand holding. I need to find specific text and apply a character style. Not rocket science and it works in Find/Change GREP tab very well. I can&#8217;t get FindChangeByList to find multiple product names (single and multiple word) which I am led to believe it was meant to do. The documentation for FindChangeByList is sparse, to put it mildly. Cari Jansen&#8217;s article is no help. All I get for my effort is an error message &#8220;Java Script Error! Error Number: 25., etc.&#8221; I&#8217;ve looked over the code until I&#8217;m blind. So please check this out an let me know if I&#8217;m nuts or not.</p>
<p>//FindChangeList_test.txt<br />
//<br />
grep	{findWhat:&#8221;adobe creative suite[']s|adobe creative suite&#8221;}<br />
{appliedCharacterStyle:&#8221;Product Name Italic&#8221;}	Find all adobe creative suite product<br />
names and make Italic.</p>
<p>I&#8217;ve tabbed between like I&#8217;m suppose to. No joy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching using disk

Served from: indesignsecrets.com @ 2012-05-23 09:10:29 -->
