<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Karl Heinz Kremer&#039;s Ramblings</title>
	<atom:link href="http://www.khk.net/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khk.net/wordpress</link>
	<description>Stuff, stuff and more stuff</description>
	<lastBuildDate>Tue, 24 Aug 2010 16:19:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Multiple Flickr Publishing Services in Lightroom 3</title>
		<link>http://www.khk.net/wordpress/2010/08/18/multiple-flickr-publishing-services-in-lightroom-3/</link>
		<comments>http://www.khk.net/wordpress/2010/08/18/multiple-flickr-publishing-services-in-lightroom-3/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 00:47:04 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Lightroom]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[lightroom]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Photoshop Lightroom 3]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=644</guid>
		<description><![CDATA[One day you need your Flickr uploads resized to 1000&#215;1000 pixels, the next day you need to allow only friends and family access to your uploads &#8211; is there a way to make the Flickr upload more streamlined from within Lightroom? Since the release of Lightroom 3 there is a convenient Flickr publishing service built [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F08%2F18%2Fmultiple-flickr-publishing-services-in-lightroom-3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F08%2F18%2Fmultiple-flickr-publishing-services-in-lightroom-3%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>One day you need your Flickr uploads resized to 1000&#215;1000 pixels, the next day you need to allow only friends and family access to your uploads &#8211; is there a way to make the Flickr upload more streamlined from within Lightroom?</p>
<p>Since the release of Lightroom 3 there is a convenient Flickr publishing service built right into the application, and with a few mouse-clicks users can upload any selection of images stored in the Lightroom catalog.</p>
<p>Thanks to the foresight of the designers of the application (or the beta testers), it is possible to set up multiple Flickr publishing services with different settings. In the following tutorial I will demonstrate how that is done. At first we&#8217;ll look at the long and complicated (no, not really) method &#8211; which you need to create your initial Flickr publishing service, but can also be used for the second, third and so on service. Then we&#8217;ll use a shortcut to create the &#8220;other&#8221; publishing services.</p>
<p>It does not matter if you’ve already set up one Flickr publishing service, or if you are starting from scratch, the process is the same. When you look at the left panel in Lightroom, you will see the “Publish Services” category with a little “+” sign to the right of the category title &#8211; plus a small triangle that indicates that there is a menu hidden behind the plug sign.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="Lightroom_Flickr_Export_1.png" src="http://www.khk.net/wordpress/wp-content/uploads/2010/08/Lightroom_Flickr_Export_1.png" border="0" alt="Lightroom_Flickr_Export_1.png" width="278" height="517" /></p>
<p>Once you click on that plus sign, the menu will be displayed. Select the “Go to Publishing Manager…” menu item, which will display the &#8230;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="Lightroom_Flickr_Export_2.png" src="http://www.khk.net/wordpress/wp-content/uploads/2010/08/Lightroom_Flickr_Export_2.png" border="0" alt="Lightroom_Flickr_Export_2.png" width="275" height="411" /></p>
<p>&#8230; “Lightroom Publishing Manager” dialog.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="Lightroom_Flickr_Export_3.png" src="http://www.khk.net/wordpress/wp-content/uploads/2010/08/Lightroom_Flickr_Export_3.png" border="0" alt="Lightroom_Flickr_Export_3.png" width="850" height="545" /></p>
<p>Right below the list of “Publish Services” on the left side is the “Add” button to add new services to the list. Click on that and specify the details for the new service.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="Lightroom_Flickr_Export_4.png" src="http://www.khk.net/wordpress/wp-content/uploads/2010/08/Lightroom_Flickr_Export_4.png" border="0" alt="Lightroom_Flickr_Export_4.png" width="470" height="173" /></p>
<p>That&#8217;s it. Now just drag&amp;drop your images on one of the Flickr publishing services, and once you are done, select to actually publish the images by right-clicking on the Photostream (or your custom photo set) and select to &#8220;Publish Now&#8221;:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="Lightroom_Flickr_Export_6.png" src="http://www.khk.net/wordpress/wp-content/uploads/2010/08/Lightroom_Flickr_Export_6.png" border="0" alt="Lightroom_Flickr_Export_6.png" width="436" height="285" /></p>
<p>So, now that we know the long way, here is a shortcut: Once you have your first Flickr publishing service installed, just right-click on that publishing service and select &#8220;Create Another Publish Service via &#8216;Flickr&#8217;&#8221;:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="Lightroom_Flickr_Export_5.png" src="http://www.khk.net/wordpress/wp-content/uploads/2010/08/Lightroom_Flickr_Export_5.png" border="0" alt="Lightroom_Flickr_Export_5.png" width="521" height="242" /></p>
<p>After that, just follow the instructions above to setup the service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/08/18/multiple-flickr-publishing-services-in-lightroom-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best Way to Learn Acrobat Scripting</title>
		<link>http://www.khk.net/wordpress/2010/08/18/best-way-to-learn-acrobat-scripting/</link>
		<comments>http://www.khk.net/wordpress/2010/08/18/best-way-to-learn-acrobat-scripting/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 15:25:04 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[adobe pdf]]></category>
		<category><![CDATA[pdfscripting.com]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=638</guid>
		<description><![CDATA[Every now and then I come across the question &#8220;What is the best way to learn scripting for Adobe Acrobat? Are there any books or other resources averrable?&#8221;. After doing some research, I think I finally found the best resource for beginners and for seasoned Acrobat JavaScript programmers that need a quick tip or a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F08%2F18%2Fbest-way-to-learn-acrobat-scripting%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F08%2F18%2Fbest-way-to-learn-acrobat-scripting%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Every now and then I come across the question &#8220;What is the best way to learn scripting for Adobe Acrobat? Are there any books or other resources averrable?&#8221;. After doing some research, I think I finally found the best resource for beginners and for seasoned Acrobat JavaScript programmers that need a quick tip or a recipe to copy&amp;paste into a project:</p>
<p><a href="http://www.pdfscripting.com/">PDFScripting.com</a></p>
<p>The site offers content for both paying members and the general public. If you are new to scripting, and you don&#8217;t want to spend the money for a membership (yet), take a look at the free content at ﻿<a href="http://www.pdfscripting.com/public/department40.cfm">http://www.pdfscripting.com/public/department40.cfm</a> &#8211; it walks you through creating your first AcroForm script, but also offers a number of videos that explain more complicated concepts. For the really good stuff however, you have to pay.</p>
<p>Ever wondered how to hook up a PDF form with an Excel spread sheet? Wonder no more! The article series &#8220;<a href="http://www.pdfscripting.com/members/department48.cfm">Acrobat, PDF and Excel Spreadsheets</a>&#8221; teaches you more than you ever wanted to know about that subject.</p>
<p>You may remember my post about <a href="http://www.khk.net/wordpress/2009/05/31/more-interactive-dynamic-stamps-in-seven-easy-steps/">dynamic stamps in Acrobat</a>. The PDFScripting.com site has a lot more information about dynamic forms and provides a number of <a href="http://www.pdfscripting.com/public/images/Video/PDFStampsGoneWild.cfm">very interesting samples</a> (video link).</p>
<p>There is a ton more information available for both AcroForm and LiveCycle Designer scripting. This information comes in form of articles, videos, a copy&amp;paste script library and downloadable sample files that illustrate a subject.</p>
<p>To get familiar with the web site, Thom Parker has recorded a video tour that helps to navigate the site, but also gives a pretty good overview about what&#8217;s available both for free and for paying members at &#8220;﻿<a href="http://www.pdfscripting.com/public/images/video/PDFSTour.cfm">Take a tour of the PDFScripting.com website!</a>&#8221; (video link).</p>
<p>So, no need to ask me for a good Acrobat scripting resource anymore, just go to PDFScripting.com and sign up for a year &#8211; it&#8217;s well worth the membership fee (and as Thom says in his tour video, no surprise at the end of the year, the membership does not automatically renew).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/08/18/best-way-to-learn-acrobat-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crocosmia</title>
		<link>http://www.khk.net/wordpress/2010/06/07/crocosmia/</link>
		<comments>http://www.khk.net/wordpress/2010/06/07/crocosmia/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 13:21:19 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Photos]]></category>
		<category><![CDATA[crocosmia]]></category>
		<category><![CDATA[plant]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=635</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F06%2F07%2Fcrocosmia%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F06%2F07%2Fcrocosmia%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><a title="View 'Crocosmia' on Flickr.com" href="http://www.flickr.com/photos/68335338@N00/4675827850"><img title="Crocosmia" src="http://farm2.static.flickr.com/1304/4675827850_d083f62670.jpg" border="0" alt="Crocosmia" width="400" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/06/07/crocosmia/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Small Show Is Back!</title>
		<link>http://www.khk.net/wordpress/2010/05/17/the-small-show-is-back/</link>
		<comments>http://www.khk.net/wordpress/2010/05/17/the-small-show-is-back/#comments</comments>
		<pubDate>Mon, 17 May 2010 22:41:30 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Rochester, NY]]></category>
		<category><![CDATA[high falls art gallery]]></category>
		<category><![CDATA[rochester]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=633</guid>
		<description><![CDATA[It&#8217;s this time of the year again: The Small show at the High Falls Art Gallery in Rochester, NY Is about to open. Join the artists for the public reception on Sunday, May 23rd from 3 to 6pm. Here is a link to the PDF version of the invitation. If you don&#8217;t want to download [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F05%2F17%2Fthe-small-show-is-back%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F05%2F17%2Fthe-small-show-is-back%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>It&#8217;s this time of the year again: The Small show at the <a href="http://centerathighfalls.org/art.htm">High Falls Art Gallery in Rochester, NY</a> Is about to open. Join the artists for the public reception on Sunday, May 23rd from 3 to 6pm.</p>
<p style="text-align: center;"><a title="View 'Swoosh' on Flickr.com" href="http://www.flickr.com/photos/68335338@N00/3582730845"><img class="aligncenter" title="Swoosh" src="http://farm4.static.flickr.com/3606/3582730845_ae3973c181.jpg" border="0" alt="Swoosh" width="334" height="500" /></a></p>
<p>Here is a link to the <a href="http://www.khk.net/wordpress/wp-content/uploads/2010/05/ag-sml310-invite-single-3-050810.pdf">PDF version of the invitation</a>.</p>
<p>If you don&#8217;t want to download the PDF invitation, here is the important information from the document:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 26.0px Arial;"><span style="font: 12.0px Arial;"> </span><strong>High Falls Art Gallery </strong></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 28.0px Arial;"><strong>Small Works of art no larger than twelve inches </strong></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Arial;"><strong>Public Reception Sunday May 23, 2010 3-6pm </strong></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px 'Arial Narrow';">Music by Reilly Taylor-Cook and Hershel Mikel Jazz Duo ﻿</p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/05/17/the-small-show-is-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LinkedIn Pet Peeve</title>
		<link>http://www.khk.net/wordpress/2010/05/07/linkedin-pet-peeve/</link>
		<comments>http://www.khk.net/wordpress/2010/05/07/linkedin-pet-peeve/#comments</comments>
		<pubDate>Fri, 07 May 2010 22:15:33 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Photos]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=629</guid>
		<description><![CDATA[Do you let LinkedIn post your tweets automatically as your LinkedIn updates? Here is a reason why that might be a bad idea: If you tweet too much, I may just hide your status updates in LinkedIn completely &#8211; not just your tweets, all your status updates! In my opinion, when LinkedIn tried to get [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F05%2F07%2Flinkedin-pet-peeve%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F05%2F07%2Flinkedin-pet-peeve%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Do you let <a href="http://www.linkedin.com">LinkedIn</a> post your tweets automatically as your LinkedIn updates? Here is a reason why that might be a bad idea: If you tweet too much, I may just hide your status updates in LinkedIn completely &#8211; not just your tweets, all your status updates!</p>
<p><a title="View 'Chains' on Flickr.com" href="http://www.flickr.com/photos/68335338@N00/4587148851"><img style="display: block; margin-left: auto; margin-right: auto;" src="http://farm5.static.flickr.com/4050/4587148851_99d1ae59d2.jpg" border="0" alt="Chains" width="334" height="500" /></a></p>
<p>In my opinion, when LinkedIn tried to get on the <a href="http://twitter.com">Twitter</a> band wagon, they made a big mistake: When you connect a Twitter account to a LinkedIn account, you have a choice of either automatically posting every tweet to your LinkedIn status, or just the ones that are tagged with the #in or #li hash tag:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="http://www.khk.net/wordpress/wp-content/uploads/2010/05/BlogPicsLI_Twitter.png" border="0" alt="LI_Twitter.png" width="423" height="157" /></p>
<p>For the latter case, a Twitter user who tweets something that might be appropriate for LinkedIn can tag the tweet with #in and have it show up on LinkedIn automatically. That&#8217;s not a bad idea, and I&#8217;m fine with that. It gives the user control over what gets shared, and what not. Twitter and LinkedIn (or in general, all the social media platforms one uses) serve a different purpose, and in general it&#8217;s not a good idea to post the same message to all these platforms -but sometimes, there is something that should be shared across all services. The hash tag approach gives the user that control.</p>
<p>The &#8220;annoy all my LinkedIn connections with my most trivial Twitter drivel&#8221; option however really annoys me. One of the most attractive features of Twitter is that tweets have a limited life time. When they don&#8217;t show up in the small window of the Twitter timeline that I&#8217;m looking at, they don&#8217;t exist &#8211; unless I&#8217;m using search. I don&#8217;t have to read them, I don&#8217;t have to deal with them, I can safely ignore them. And I do! When they show up in my LinkedIn status updates however, I can no longer ignore them, and even more annoyingly, they push real status updates off the end of that page.</p>
<p>I wish LinkedIn would give me an option to hide all Tweets (or at least those that don&#8217;t have #in or #li in them). Because I don&#8217;t have that control, I do the next best thing: If your tweets on LinkedIn annoy me, I will hide your status updates.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/05/07/linkedin-pet-peeve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Your Acrobat Plug-in Still Using ADM?</title>
		<link>http://www.khk.net/wordpress/2010/04/23/is-your-acrobat-plug-in-still-using-adm/</link>
		<comments>http://www.khk.net/wordpress/2010/04/23/is-your-acrobat-plug-in-still-using-adm/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 16:33:08 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[adm]]></category>
		<category><![CDATA[adobe pdf]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[plug-in]]></category>
		<category><![CDATA[wxwidgets]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=617</guid>
		<description><![CDATA[For a few years now Adobe has been telling 3rd party developers that the ADM (Adobe Dialog Manager) will be discontinued, and that existing plug-ins may have to be ported to something else. If I remember correctly, this started with Acrobat 7 or 8, but back then it was a soft threat &#8211; everything still [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F04%2F23%2Fis-your-acrobat-plug-in-still-using-adm%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F04%2F23%2Fis-your-acrobat-plug-in-still-using-adm%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>For a few years now Adobe has been telling 3rd party developers that the ADM (Adobe Dialog Manager) will be discontinued, and that existing plug-ins may have to be ported to something else. If I remember correctly, this started with Acrobat 7 or 8, but back then it was a soft threat &#8211; everything still worked, and there wasn&#8217;t much incentive to start porting plug-ins. However, with the release of the <a href="http://www.adobe.com/devnet/acrobat">Acrobat 9 SDK</a> the ADM related header files were gone, but ADM based plug-ins were still working (at least some of them). </p>
<p>The removal of the header files does send a strong signal, but what was an even stronger signal for me was that one of the ADM based plug-in I was working on was no longer working correctly on some versions of Windows. </p>
<p>As far as Adobe is concerned, ADM is no longer supported &#8211; that means there won&#8217;t be any bug fixes for it, but the plug-in has to work with Acrobat 9 on any Windows system that&#8217;s supported by Acrobat 9. So, what is a developer to do in such a situation?</p>
<p>Adobe does not give us much guidance in what to chose as a replacement for ADM. The most obvious choice is to stick with the native UI framework that comes with the operating system, but the advantage of ADM was that one could write UI code that would run in both Windows and Mac plug-ins. One of the sample plug-ins &#8211; wxPlugin &#8211; that comes with the Acrobat SDK is based on <a href="http://wxwidgets.org/">wxWidgets</a>. To me that was a pretty strong hint that wxWidgets would be a good choice&#8230;</p>
<p>However, even though the Mac version of the SDK does come with the wxPlugin code and even contains a XCode project file, it does not compile. After some work, trying to come up with a combination of wxWidget configuration options and wxPlugin project settings, I was able to create an Acrobat plug-in that worked. </p>
<p>In order to &#8220;fix&#8221; the Mac&#8217;s version of the wxPlugin I first had to compile wxWidgets. Use the following configure command line to create the static wxWidget libraries that can be linked with the project:</p>
<p><pre><code>configure CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0 --enable-universal_binary \
--disable-shared --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk \
--with-mmacosx-version-min=10.4 --enable-debug</code></pre></p>
<p>Just install the libraries and include files according to the <a href="http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/API_References/Acr obat_API_Reference/Samples/CodeSamples/sample-descriptions.html">instructions provided by Adobe</a>. </p>
<p>A closer inspection of the plug-in code then revealed that the part that actually did anything was commented out for the Mac with <code>#ifndef MAC_PLATFORM</code> statements, so I removed those and the last thing to do was to remove the reference to the <code>libexpat</code> library &#8211; it is provided by the operating system and does not have to be provided by wxWidgets.</p>
<p>With a working environment on the Mac, wxWidgets is a viable alternative for ADM for either new Acrobat plug-ins, or existing plug-ins that need to be modified to make them compatible with the current version of Acrobat. </p>
<p>If your Acrobat plug-ins are still using ADM, now would be a good time to think about what to do about that&#8230; If you need any help, <a href="mailto:khk+b1GvaE@khk.net">let me know</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/04/23/is-your-acrobat-plug-in-still-using-adm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Acrobat JavaScript on a MacBook</title>
		<link>http://www.khk.net/wordpress/2010/03/23/javascript-console/</link>
		<comments>http://www.khk.net/wordpress/2010/03/23/javascript-console/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 17:58:20 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[adobe pdf]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=624</guid>
		<description><![CDATA[Acrobat&#8217;s JavaScript is a great tool to extend the application, or to automate reoccurring tasks. There are several ways a JavaScript can be added to the application or a document (e.g. folder level scripts, validation scripts, event handling scripts, &#8230;), but regardless of how a script is written, chances are that the developer wants to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F03%2F23%2Fjavascript-console%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F03%2F23%2Fjavascript-console%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Acrobat&#8217;s JavaScript is a great tool to extend the application, or to automate reoccurring tasks. There are several ways a JavaScript can be added to the application or a document (e.g. folder level scripts, validation scripts, event handling scripts, &#8230;), but regardless of how a script is written, chances are that the developer wants to test parts of the script in Acrobat&#8217;s Javascript console. This console window can be shown by either using the &#8220;Advanced>Document Processing>JavaScript Debugger&#8230;&#8221; menu item or Ctrl-J on Windows or Cmd-J on a Mac:</p>
<div style="text-align:center;"><img src="http://www.khk.net/wordpress/wp-content/uploads/2010/03/BlogPicsJS_Menu.png" alt="JS_Menu.png" border="0" width="400" /></div>
<p>After the console or debugger window comes up, the user can then enter Javascript and execute it&#8230; </p>
<div style="text-align:center;"><img src="http://www.khk.net/wordpress/wp-content/uploads/2010/03/BlogPicsJS_Debugger.png" alt="JS_Debugger.png" border="0" width="500" /></div>
<p>&#8230; that is, as long as a full keyboard with a numeric keypad is used. In Adobe&#8217;s documentation, we find the following <a href="http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_Dev_Tools.72.4.html">instructions to execute Javascript typed into the console window</a>:</p>
<p>
The JavaScript console allows you to evaluate single or multiple lines of code. There are three ways to evaluate JavaScript code while using the interactive console:</p>
<ul>
<li>To evaluate a portion of a line of code, highlight the portion and press either the Enter key on the numeric keypad or press Ctrl + Enter.</li>
<li>To evaluate a single line of code, make sure the cursor is positioned on that line and press either the Enter key on the numeric keypad or press Ctrl + Enter.</li>
<li>To evaluate multiple lines of code, highlight those lines and press either the Enter key on the numeric keypad or press Ctrl + Enter.</li>
</ul>
<p>That works fine as long as you have access to the numeric keypad, but on a MacBook or a MacBook Pro without that keypad. No key combination involving fn, ctrl, cmd or option with the Return or Enter key will result in the Javascript getting executed. </p>
<p>The virtual keyboard to the rescue: Mac OS comes with a handy keyboard viewer that allows us to send the correct key code to the application. To bring up the keyboard viewer, bring up the Mac OS System Preferences first and select the &#8220;Keyboard&#8221; category:</p>
<div style="text-align:center;"><img src="http://www.khk.net/wordpress/wp-content/uploads/2010/03/BlogPicsKeyboardViewer_1.png" alt="KeyboardViewer_1.png" border="0" width="500" /></div>
<p>Make sure that the option &#8220;Show Keyboard &#038; Character Viewer in menu bar&#8221; is selected. Once this is done, you can access the keyboard viewer from the menu bar:</p>
<div style="text-align:center;"><img src="http://www.khk.net/wordpress/wp-content/uploads/2010/03/BlogPicsKeyboardViewer_2.png" alt="KeyboardViewer_2.png" border="0" width="244" height="118" /></div>
<p>Now comes the tricky part: Write some Javascript in the console window and place the cursor on the line you want to execute or select the snippet of the Javascript that should be executed. In the following example I&#8217;m using code from <a href="http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.151.html">Adobe&#8217;s Javascript API documentation</a>:</p>
<p><pre><pre>
&nbsp;&nbsp;var menuItems = app.listMenuItems()
&nbsp;&nbsp;for( var i in menuItems)
&nbsp;&nbsp;&nbsp;&nbsp;console.println(menuItems[i] + &quot;\n&quot;)
</pre></pre></p>
<p>With the console prepped, bring up the keyboard viewer and start pushing keys &#8211; real keys that is: Hold down the &#8220;fn&#8221; and the &#8220;control&#8221; key, then move the mouse pointer to the &#8220;Enter&#8221; key on the keyboard viewer and click it&#8230;</p>
<div style="text-align:center;"><img src="http://www.khk.net/wordpress/wp-content/uploads/2010/03/BlogPicsJS_Debugger_6.png" alt="JS_Debugger_6.png" border="0" width="500" /></div>
<p>&#8230; and voila, the script gets executed:</p>
<div style="text-align:center;"><img src="http://www.khk.net/wordpress/wp-content/uploads/2010/03/BlogPicsJS_Debugger_7.png" alt="JS_Debugger_7.png" border="0" width="500"/></div>
<p>This is not the most straight forward method, but at least it&#8217;s possible to use the Javascript console to execute code when using a MacBook. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/03/23/javascript-console/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rye Bread</title>
		<link>http://www.khk.net/wordpress/2010/03/08/rye-bread/</link>
		<comments>http://www.khk.net/wordpress/2010/03/08/rye-bread/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 21:01:34 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Cooking]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[baking]]></category>
		<category><![CDATA[bread]]></category>
		<category><![CDATA[rye]]></category>
		<category><![CDATA[whole wheat]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=616</guid>
		<description><![CDATA[For a couple of years now, I&#8217;ve been looking for the perfect rye bread recipe. I know, &#8220;perfect&#8221; is a dangerous term to use, but I think I found a recipe that makes beautiful and tasty bread. This recipe started out as Daniel Leader&#8217;s Czech Country Bread from his book Local Breads: Sourdough and Whole-Grain [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F03%2F08%2Frye-bread%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F03%2F08%2Frye-bread%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>For a couple of years now, I&#8217;ve been looking for the perfect rye bread recipe. I know, &#8220;perfect&#8221; is a dangerous term to use, but I think I found a recipe that makes beautiful and tasty bread. </p>
<p>This recipe started out as Daniel Leader&#8217;s <a href="http://ostwestwind.twoday.net/stories/4266882/">Czech Country Bread</a> from his book <a href="http://www.amazon.com/gp/product/0393050556?ie=UTF8&#038;tag=spechtshomepa-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0393050556">Local Breads: Sourdough and Whole-Grain Recipes from Europe&#8217;s Best Artisan Bakers</a><img src="http://www.assoc-amazon.com/e/ir?t=spechtshomepa-20&#038;l=as2&#038;o=1&#038;a=0393050556" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />. I like whole grains in my bread, so I experimented with adding different kinds of whole grains &#8211; starting with replacing the white rye with whole grain rye, but eventually I ended up with replacing half of the bread flour with white whole wheat flour.  </p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/68335338@N00/4435165793" title="View 'Rye Bread' on Flickr.com"><img alt="Rye Bread" src="http://farm5.static.flickr.com/4022/4435165793_1188de57d9.jpg" class="flickr"/></a></div>
<p>150g refreshed whole grain rye sourdough starter<br />
300g water<br />
100g <a href="http://www.kingarthurflour.com/shop/items/king-arthur-white-rye-flour-3-lb">white rye flour</a><br />
200g <a href="http://www.kingarthurflour.com/shop/items/king-arthur-100-organic-white-whole-wheat-flour-2-lb">white whole wheat flour</a><br />
200g unbleached bread flour<br />
1 tsp yeast<br />
1 1/2 tsp sea salt<br />
1 tbsp <a href="http://www.kingarthurflour.com/shop/items/vital-wheat-gluten-16-oz">wheat gluten</a><br />
1 tbsp <a href="http://www.kingarthurflour.com/shop/items/diastatic-malt-powder-16-oz">diastatic malt powder</a></p>
<p>Use a stand mixer to knead all the ingredients into dough (about 8-10 minutes on slow).<br />
Cover the dough and let it rest for about two hours (or until doubled in size).<br />
Give the dough a quick knead and form a loaf.<br />
Cover the dough again and let rise for about 1 1/2 hours. <br />
About one hour into the second rise place a pizza stone in oven on middle rack and a cast iron pan at the bottom of the oven and preheat to 475F.<br />
Sprinkle whole wheat flour on a peel and place the loaf on it.<br />
Score loaf with a very sharp knife.<br />
Place loaf on pizza stone.<br />
Add a cup of ice cubes into the cast iron pan close the door.<br />
Reduce temperature to 425F.<br />
Bake for 45 minutes.<br />
Let the bread cool completely before cutting into it. Yes, I understand that&#8217;s hard to do, but it&#8217;s important. If you want to eat freshly baked (still hot) bread, make baguettes. There is noting better than a fresh piece of bread with some good butter. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/03/08/rye-bread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Even More PDF Tools</title>
		<link>http://www.khk.net/wordpress/2010/03/08/even-more-pdf-tools/</link>
		<comments>http://www.khk.net/wordpress/2010/03/08/even-more-pdf-tools/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 15:40:36 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[PDF]]></category>
		<category><![CDATA[ABCpdf]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[PD4ML]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=615</guid>
		<description><![CDATA[I wrote about my favorite tools around the PDF file format in the past. It&#8217;s time to add a couple more items to the list. Over the last few months I&#8217;ve been working with two more products that I can recommend wholeheartedly: PD4ML There are a number of HTML to PDF converters available, but if [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F03%2F08%2Feven-more-pdf-tools%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F03%2F08%2Feven-more-pdf-tools%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I wrote about my favorite tools around the PDF file format in the <a href="http://www.khk.net/wordpress/2009/03/23/more-pdf-tools/">past</a>. It&#8217;s time to add a couple more items to the list. </p>
<p>Over the last few months I&#8217;ve been working with two more products that I can recommend wholeheartedly: </p>
<h1><a href="http://pd4ml.com/">PD4ML</a></h1>
<p>There are a number of HTML to PDF converters available, but if your HTML is anything but basic, chances are that every single one of them does not render one or more features in your documents accurately enough&#8230; After looking at a number of them, I came across <a href="http://pd4ml.com/">PD4ML</a> and it looked good right from the first document I fed to it. There were a few problems, but PD4ML&#8217;s support was great in helping me out, even though I only had an evaluation license. At the end, all known problems were taken care of in the next formal release I received. </p>
<p>PD4ML is available as either a Java library or a .NET component. The Java JAR can actually be used as an application to get a good idea about how the generated PDF would look. </p>
<p>The library is available in a standard and a Pro version &#8211; there are a number of differences, which are listed in the &#8220;<a href="http://pd4ml.com/products.htm">Products Comparison Chart</a>&#8221; &#8211; the most important difference for me is that the Pro version supports font embedding.</p>
<h1><a href="http://www.websupergoo.com/products.htm#pd">ABCpdf</a></h1>
<p>As I&#8217;ve mentioned before, I&#8217;m a fan of iText (mainly because it&#8217;s Java based, and I can use it on any system that has a Java VM), but I was looking for a library that had rasterization capabilities. I found <a href="http://www.websupergoo.com/products.htm#pd">ABCpdf</a>, and it&#8217;s a great tool that does everything I want a PDF library to do (as long as I can use .NET, ASP or VB). It can read PDF documents, modify them and write them out again, create PDF documents from scratch, convert other formats to PDF (e.g. HTML &#8211; even with FLash support, EPS, XPS, SVG). It can even use OpenOffice.org to import MS Office documents. One of the more important features for me is the ability to access low level PDF objects &#8211; either to get more information about the PDF file and it&#8217;s objects, or to make changes that are not available via other high level calls. ABCpdf also allows me to do that. </p>
<p>ABCpdf comes in two versions, Standard and Professional. The &#8220;<a href="http://www.websupergoo.com/abcpdf-8.htm">PDF Component Comparison Chart</a>&#8221; on the web site lists the differences between the two versions. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/03/08/even-more-pdf-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latex, Pop and Dinosaurs</title>
		<link>http://www.khk.net/wordpress/2010/03/07/latex-pop-and-dinosaurs/</link>
		<comments>http://www.khk.net/wordpress/2010/03/07/latex-pop-and-dinosaurs/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 13:37:39 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Rochester, NY]]></category>
		<category><![CDATA[Airigami]]></category>
		<category><![CDATA[Balloons]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Dinosaurs]]></category>
		<category><![CDATA[Larry Moss]]></category>
		<category><![CDATA[Pepsi]]></category>
		<category><![CDATA[rochester]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=613</guid>
		<description><![CDATA[Have you heard? Pepsi is giving away $1,300,000 a month for great ideas &#8220;that can make a positive impact in the community&#8221;. The money is awarded in different categories: 2 Grants at the $250,000 level 10 Grants at the $50,000 level 10 Grants at the $25,000 level 10 Grants at the $5,000 level This is [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F03%2F07%2Flatex-pop-and-dinosaurs%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F03%2F07%2Flatex-pop-and-dinosaurs%2F&amp;source=khkremer&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Have you heard? <a href="http://www.refresheverything.com">Pepsi is giving away $1,300,000</a> a month for great ideas &#8220;that can make a positive impact in the community&#8221;. </p>
<p>The money is awarded in different categories:</p>
<ul>
<li>2 Grants at the $250,000 level</li>
<li>10 Grants at the $50,000 level</li>
<li>10 Grants at the $25,000 level</li>
<li>10 Grants at the $5,000 level</li>
</ul>
<p>This is all based on votes from the public. Everybody has 10 votes a day to select worthy projects. </p>
<p>Rochester&#8217;s Larry Moss is competing in the $50,000 category for the <a href="http://elasticpark.com/">ElasticPark</a> project: The goal is to build a collection of dinosaurs out of balloons. Go to <a href="http://elasticpark.com">ElasticPark.com</a> to find out more about the details &#8211; and then <a href="http://www.refresheverything.com/ElasticPark">vote for the project</a>!</p>
<p>Voting is a bit tricky: When you first go to the site, you are not logged in. The &#8220;Vote&#8221; button will only bring up the login dialog (from where you can also create a new account). Once you are logged in, your vote has not been cast yet, and you have to click on the &#8220;Vote&#8221; button again to make your vote count for the day. Vote once a day, and keep on voting until the ElasticPark project actually wins &#8211; that may be this month, next month or any time after that. As long as the project finishes within the first 100 projects, it will be automatically rolled forward to the next month. </p>
<p>Oh, and don&#8217;t vote for any other $50,000 project &#8211; they are all competing with ElasticPark for the same 10 top spots, but you can of course vote 9 more times every day for projects in any of the other categories. </p>
<p><iframe src="http://www.refresheverything.com/widget/?i=092b5688-5191-102d-ab84-0019b9b9e205&#038;w=300" width="300" height="255" scrolling='no' frameborder='0'></iframe></p>
<p>One more thing: When you sign up for an account, make sure that you remember your password. I forgot mine, and had to use the &#8220;Reset my password&#8221; feature &#8211; it seems to reset the password for all of Pepsi, but I was not able to log into the <a href="http://www.refresheverything.com/ElasticPark">RefreshEverything</a> site again &#8211; I had to sign up for a second account with a different email address. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/03/07/latex-pop-and-dinosaurs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
