<?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: Automated Workflow I</title>
	<atom:link href="http://singleservingphoto.com/2007/04/15/automated-workflow-i/feed/" rel="self" type="application/rss+xml" />
	<link>http://singleservingphoto.com/2007/04/15/automated-workflow-i/</link>
	<description>Photography in Small Doses</description>
	<lastBuildDate>Sat, 31 Jul 2010 09:45:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Aaron</title>
		<link>http://singleservingphoto.com/2007/04/15/automated-workflow-i/comment-page-1/#comment-858</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Fri, 06 Jul 2007 11:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.singleservingphoto.com/2007/04/15/automated-workflow-i/#comment-858</guid>
		<description>Unfortunately, I don&#039;t think there is a way to run AppleScript directly in Windows. It&#039;s not necessary to write the Lightroom post-processing filter in AppleScript, though, and I think you&#039;re on the right track with ActivePerl and PerlMagick, but you&#039;ll have to learn how to write some Perl!

An alternative (perhaps somewhat easier) is to install &quot;Windows binaries of ImageMagick&quot;:http://www.imagemagick.org/script/binary-releases.php#windows rather than use the PerlMagick bindings. You&#039;ll basically have to translate my AppleScript snippet into Perl and use it as your post-processing filter.

Here&#039;s an _idea_ of how it might be done, but I haven&#039;t even remotely tested this. You should avoid using paths with spaces in them for where you place the ImageMagick binaries and your watermark image if possible.

&lt;code lang=&quot;perl&quot;&gt;
#!/usr/bin/perl

my $IM = &#039;C:\ImageMagick\bin\composite.exe&#039;;
my $watermark = &#039;C:\Documents and Settings\My Username\My Documents\My Pictures\copyright.gif&#039;;

if($#ARGV gt -1) {
    foreach $arg (@ARGV) {
        qx/$IM -compose Over -gravity southwest &quot;$watermark&quot; &quot;$arg&quot; &quot;$arg&quot;/;
    }
}
&lt;/code&gt;

I wish you luck!</description>
		<content:encoded><![CDATA[<p>Unfortunately, I don&#8217;t think there is a way to run AppleScript directly in Windows. It&#8217;s not necessary to write the Lightroom post-processing filter in AppleScript, though, and I think you&#8217;re on the right track with ActivePerl and PerlMagick, but you&#8217;ll have to learn how to write some Perl!</p>
<p>An alternative (perhaps somewhat easier) is to install <a href="http://www.imagemagick.org/script/binary-releases.php#windows">Windows binaries of ImageMagick</a> rather than use the PerlMagick bindings. You&#8217;ll basically have to translate my AppleScript snippet into Perl and use it as your post-processing filter.</p>
<p>Here&#8217;s an <em>idea</em> of how it might be done, but I haven&#8217;t even remotely tested this. You should avoid using paths with spaces in them for where you place the ImageMagick binaries and your watermark image if possible.</p>
<div class="code perl" style="font-family: monospace;">
<span style="color: #808080; font-style: italic;">#!/usr/bin/perl</span></p>
<p><span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$IM</span> = <span style="color: #ff0000;">'C:\ImageMagick\bin\composite.exe'</span>;<br />
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$watermark</span> = <span style="color: #ff0000;">'C:\Documents and Settings\My Username\My Documents\My Pictures\copyright.gif'</span>;</p>
<p><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>$<span style="color: #808080; font-style: italic;">#ARGV gt -1) {</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">foreach</span> <span style="color: #0000ff;">$arg</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">@ARGV</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.perldoc.com/perl5.6/pod/func/qx.html"><span style="color: #000066;">qx</span></a>/<span style="color: #0000ff;">$IM</span> -compose Over -gravity southwest <span style="color: #ff0000;">&quot;$watermark&quot;</span> <span style="color: #ff0000;">&quot;$arg&quot;</span> <span style="color: #ff0000;">&quot;$arg&quot;</span>/;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#125;</span></p>
<p>&nbsp;</p></div>
<p>I wish you luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Darwall</title>
		<link>http://singleservingphoto.com/2007/04/15/automated-workflow-i/comment-page-1/#comment-857</link>
		<dc:creator>Charles Darwall</dc:creator>
		<pubDate>Fri, 06 Jul 2007 02:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.singleservingphoto.com/2007/04/15/automated-workflow-i/#comment-857</guid>
		<description>Wonderful tutorial.... but I&#039;m a Win XP user (don&#039;t hold it against me.  I&#039;m a nubie.)   Where can I get the AppleScript code for win XP?  I&#039;ve spent hours downloading and reading everyting in GraphicsMagick.  I have ActivePerl, PerlMagick, etc. loaded and have no idea what I&#039;m doing.  Of  course I have LightRoom.

Thanks,

Charles</description>
		<content:encoded><![CDATA[<p>Wonderful tutorial&#8230;. but I&#8217;m a Win XP user (don&#8217;t hold it against me.  I&#8217;m a nubie.)   Where can I get the AppleScript code for win XP?  I&#8217;ve spent hours downloading and reading everyting in GraphicsMagick.  I have ActivePerl, PerlMagick, etc. loaded and have no idea what I&#8217;m doing.  Of  course I have LightRoom.</p>
<p>Thanks,</p>
<p>Charles</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: photographyVoter.com</title>
		<link>http://singleservingphoto.com/2007/04/15/automated-workflow-i/comment-page-1/#comment-765</link>
		<dc:creator>photographyVoter.com</dc:creator>
		<pubDate>Fri, 27 Apr 2007 12:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.singleservingphoto.com/2007/04/15/automated-workflow-i/#comment-765</guid>
		<description>Automated Workflow I - Scripting, OS X, Lightroom...

Learn how to write shell scripts and AppleScripts to automate the application of watermarks and set up Lightroom post-processing filters....</description>
		<content:encoded><![CDATA[<p>Automated Workflow I &#8211; Scripting, OS X, Lightroom&#8230;</p>
<p>Learn how to write shell scripts and AppleScripts to automate the application of watermarks and set up Lightroom post-processing filters&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
