<?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: Swapping Color Swatches with Swatch Switcher</title>
	<atom:link href="http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php/rss2" rel="self" type="application/rss+xml" />
	<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php</link>
	<description>InDesignSecrets Blog and Podcast</description>
	<pubDate>Tue, 02 Dec 2008 15:46:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: InDesignSecrets &#187; Blog Archive &#187; InDesignSecrets Podcast 081</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-466378</link>
		<dc:creator>InDesignSecrets &#187; Blog Archive &#187; InDesignSecrets Podcast 081</dc:creator>
		<pubDate>Wed, 09 Jul 2008 21:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-466378</guid>
		<description>[...] New design for InDesignSecrets.com blog * Free script extravaganza: Swatch Switcher, Label Graphics, Swap Object Positions, IndexMatic (beta) to index on character styles, Select [...]</description>
		<content:encoded><![CDATA[<p>[...] New design for InDesignSecrets.com blog * Free script extravaganza: Swatch Switcher, Label Graphics, Swap Object Positions, IndexMatic (beta) to index on character styles, Select [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne-Marie</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-422591</link>
		<dc:creator>Anne-Marie</dc:creator>
		<pubDate>Tue, 03 Jun 2008 03:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-422591</guid>
		<description>Or you can see what he looks like about 1:10 into the &lt;a href="http://www.youtube.com/watch?v=LPmsXTMVxps" rel="nofollow"&gt;Transparencide video.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Or you can see what he looks like about 1:10 into the <a href="http://www.youtube.com/watch?v=LPmsXTMVxps" rel="nofollow">Transparencide video.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Blatner</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-418453</link>
		<dc:creator>David Blatner</dc:creator>
		<pubDate>Fri, 30 May 2008 12:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-418453</guid>
		<description>Regular readers of InDesign secrets who don't know Russell will quickly become acquainted with his particularly sharp sense of humor (thus his comments about paypal and so on... just a joke! Really!).

For more on Russell's humor, you (and everyone you know) should visit &lt;a href="http://www.yabb-adobe-doo.com/yabstuff.html" target=_"blank" rel="nofollow"&gt;yabb-adobe-doo.com&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Regular readers of InDesign secrets who don&#8217;t know Russell will quickly become acquainted with his particularly sharp sense of humor (thus his comments about paypal and so on&#8230; just a joke! Really!).</p>
<p>For more on Russell&#8217;s humor, you (and everyone you know) should visit <a href="http://www.yabb-adobe-doo.com/yabstuff.html" target=_"blank" rel="nofollow">yabb-adobe-doo.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell Viers</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-417245</link>
		<dc:creator>Russell Viers</dc:creator>
		<pubDate>Thu, 29 May 2008 13:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-417245</guid>
		<description>Thanks for the kind words, Pat. What you don't know is that the script also pings your PayPal account for $7.34 every time you use it...and sends it to me.
Feel free to use the script regularly and tell your friends, as well.</description>
		<content:encoded><![CDATA[<p>Thanks for the kind words, Pat. What you don&#8217;t know is that the script also pings your PayPal account for $7.34 every time you use it&#8230;and sends it to me.<br />
Feel free to use the script regularly and tell your friends, as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-417240</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Thu, 29 May 2008 13:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-417240</guid>
		<description>Just tried this script out and it works great! Thanks a lot guys. This site is great, it explains everything about InDesign and when InDesign can't do something, you get that featured added. Awesome.</description>
		<content:encoded><![CDATA[<p>Just tried this script out and it works great! Thanks a lot guys. This site is great, it explains everything about InDesign and when InDesign can&#8217;t do something, you get that featured added. Awesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jerome</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-417170</link>
		<dc:creator>jerome</dc:creator>
		<pubDate>Thu, 29 May 2008 12:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-417170</guid>
		<description>I started with AppleScript before JavaScript was supported by Adobe. It is an easier language to program in because it is closer to the spoken language and allows for greater integration the computing environment that it is working on including other programs such as e-mail, word processors, spreadsheets, databases, etc. You can also run (Unix/OS X) shell scripts and in certain programs JavaScript. I can also build a full blown user interface with Apple's free development environment. 

AppleScript's can be attached to a folder so that they are triggered whenever a file is added, or stay open and watch a folder or series of folders for some event. You can set up rules in an e-mail program to run an AppleScript whenever you receive a message with the subject "ADD THIS."

JavaScript does have it's place, it is great for dual platform scripts such as this which are just working inside of ID. It makes it a nice way for a developer to add functions to ID (or PS, ILL, etc) and deploy it to as many users as possible. However, if you want to build a robust work flow then that integrates well into your system then VB Script or AppleScript is probably a better choice.</description>
		<content:encoded><![CDATA[<p>I started with AppleScript before JavaScript was supported by Adobe. It is an easier language to program in because it is closer to the spoken language and allows for greater integration the computing environment that it is working on including other programs such as e-mail, word processors, spreadsheets, databases, etc. You can also run (Unix/OS X) shell scripts and in certain programs JavaScript. I can also build a full blown user interface with Apple&#8217;s free development environment. </p>
<p>AppleScript&#8217;s can be attached to a folder so that they are triggered whenever a file is added, or stay open and watch a folder or series of folders for some event. You can set up rules in an e-mail program to run an AppleScript whenever you receive a message with the subject &#8220;ADD THIS.&#8221;</p>
<p>JavaScript does have it&#8217;s place, it is great for dual platform scripts such as this which are just working inside of ID. It makes it a nice way for a developer to add functions to ID (or PS, ILL, etc) and deploy it to as many users as possible. However, if you want to build a robust work flow then that integrates well into your system then VB Script or AppleScript is probably a better choice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Nordby</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-417122</link>
		<dc:creator>Klaus Nordby</dc:creator>
		<pubDate>Thu, 29 May 2008 12:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-417122</guid>
		<description>jerome, thanks. But I'm on Win, so Applescript isn on my menu. (I don't really get why people bother with Applescript and the Win-only VB script, when JavaScript is dual platform?)</description>
		<content:encoded><![CDATA[<p>jerome, thanks. But I&#8217;m on Win, so Applescript isn on my menu. (I don&#8217;t really get why people bother with Applescript and the Win-only VB script, when JavaScript is dual platform?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jerome</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-416794</link>
		<dc:creator>jerome</dc:creator>
		<pubDate>Thu, 29 May 2008 03:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-416794</guid>
		<description>I assume that you are talking about hyperlinks Klaus. If you are on a Mac you should be able to use an applescript like this:

set OldDelim to AppleScript's text item delimiters

tell application "Adobe InDesign CS3"
	set theHyperlinks to every hyperlink of document 1
	repeat with aHyperlink in theHyperlinks
		set AppleScript's text item delimiters to " copy"
		set newName to name of aHyperlink
		try
			set name of aHyperlink to text item 1 of (newName)
		on error
			display dialog "Could not rename hyperlink " &#38; (name of aHyperlink)
		end try
	end repeat
end tell

This is pretty simple and takes the name of the hyperlink up to the first instance of " copy" and uses that for the name and displays an alert to the user for duplicates.</description>
		<content:encoded><![CDATA[<p>I assume that you are talking about hyperlinks Klaus. If you are on a Mac you should be able to use an applescript like this:</p>
<p>set OldDelim to AppleScript&#8217;s text item delimiters</p>
<p>tell application &#8220;Adobe InDesign CS3&#8243;<br />
	set theHyperlinks to every hyperlink of document 1<br />
	repeat with aHyperlink in theHyperlinks<br />
		set AppleScript&#8217;s text item delimiters to &#8221; copy&#8221;<br />
		set newName to name of aHyperlink<br />
		try<br />
			set name of aHyperlink to text item 1 of (newName)<br />
		on error<br />
			display dialog &#8220;Could not rename hyperlink &#8221; &amp; (name of aHyperlink)<br />
		end try<br />
	end repeat<br />
end tell</p>
<p>This is pretty simple and takes the name of the hyperlink up to the first instance of &#8221; copy&#8221; and uses that for the name and displays an alert to the user for duplicates.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Nordby</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-416725</link>
		<dc:creator>Klaus Nordby</dc:creator>
		<pubDate>Thu, 29 May 2008 00:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-416725</guid>
		<description>This "copy" stuff in the color name reminds me of a great nuisance in Bookmarks: any copying of them -- to a new document! -- results in the names being either "XXX copy" or "XXX copy copy" or "XXX copy copy copy"! Quite infuriating. I've coped with this by exporting to INX and done search-replaces in a text editor, which sometimes has worked, other times has created a dysfunctional INX when I imported it. I have also had many bad crashes pertaining to Bookmarks in ID, so it seems the Bookmarks subsystem is -- a substandard system. Do any of you folks here have any tips or tricks for Bookmark woes? I'd dearly like for David, Anne-Marie or the New Guys to dig into this, and spell it all out.</description>
		<content:encoded><![CDATA[<p>This &#8220;copy&#8221; stuff in the color name reminds me of a great nuisance in Bookmarks: any copying of them &#8212; to a new document! &#8212; results in the names being either &#8220;XXX copy&#8221; or &#8220;XXX copy copy&#8221; or &#8220;XXX copy copy copy&#8221;! Quite infuriating. I&#8217;ve coped with this by exporting to INX and done search-replaces in a text editor, which sometimes has worked, other times has created a dysfunctional INX when I imported it. I have also had many bad crashes pertaining to Bookmarks in ID, so it seems the Bookmarks subsystem is &#8212; a substandard system. Do any of you folks here have any tips or tricks for Bookmark woes? I&#8217;d dearly like for David, Anne-Marie or the New Guys to dig into this, and spell it all out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jerome</title>
		<link>http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-416705</link>
		<dc:creator>jerome</dc:creator>
		<pubDate>Thu, 29 May 2008 00:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/swapping-color-swatches-with-swatch-switcher.php#comment-416705</guid>
		<description>This is a good example of what scripting is good for. I had a similar type of project where we create a number of covers in various color pallets. When the job comes in there are a series of color options they want to see for the first pass so that they can decide which to use. 

I created a template with labeled text text boxes and rectangles that make up the base of the cover. Then a script is run, the user enters in the name of  the book and the location of the templates and chooses some colors from a predetermined color pallet.

The script creates a new document for each of the versions of the books (teachers and students as well as title pages for each) then, sets the new text in the appropriate text boxes (front cover, spine, and back cover) with the appropriate styles applied makes a series of pages with the various color options for each cover and saves the document.

When it comes back from the client and they want to see another color option it swaps out the appropriate color in the open document all in a matter of seconds. When a final color is chosen then its just a matter of deleting the unwanted pages and its done.

If you are not into scripting a manual way to do this would be to set up the template with a series of "Delete me" colors, then delete and replace with the desired colors, it takes a bit more time than a script and there is a bit more chance for error but it is a lot faster than doing it manually and takes just a bit more time upfront in building the template.</description>
		<content:encoded><![CDATA[<p>This is a good example of what scripting is good for. I had a similar type of project where we create a number of covers in various color pallets. When the job comes in there are a series of color options they want to see for the first pass so that they can decide which to use. </p>
<p>I created a template with labeled text text boxes and rectangles that make up the base of the cover. Then a script is run, the user enters in the name of  the book and the location of the templates and chooses some colors from a predetermined color pallet.</p>
<p>The script creates a new document for each of the versions of the books (teachers and students as well as title pages for each) then, sets the new text in the appropriate text boxes (front cover, spine, and back cover) with the appropriate styles applied makes a series of pages with the various color options for each cover and saves the document.</p>
<p>When it comes back from the client and they want to see another color option it swaps out the appropriate color in the open document all in a matter of seconds. When a final color is chosen then its just a matter of deleting the unwanted pages and its done.</p>
<p>If you are not into scripting a manual way to do this would be to set up the template with a series of &#8220;Delete me&#8221; colors, then delete and replace with the desired colors, it takes a bit more time than a script and there is a bit more chance for error but it is a lot faster than doing it manually and takes just a bit more time upfront in building the template.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
