<?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 &#187; Apple</title>
	<atom:link href="http://www.khk.net/wordpress/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khk.net/wordpress</link>
	<description>Stuff, stuff and more stuff</description>
	<lastBuildDate>Sun, 25 Sep 2011 18:38:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<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[Acrobat]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[adobe pdf]]></category>
		<category><![CDATA[development]]></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&amp;b=2" 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>8</slash:comments>
		</item>
		<item>
		<title>Cat On Laptop</title>
		<link>http://www.khk.net/wordpress/2010/02/18/cat-on-laptop/</link>
		<comments>http://www.khk.net/wordpress/2010/02/18/cat-on-laptop/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 02:23:05 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[macbook]]></category>

		<guid isPermaLink="false">http://www.khk.net/wordpress/?p=611</guid>
		<description><![CDATA[It&#8217;s been a while&#8230; My last post was a long time ago. I my defense, I&#8217;ve been working on a project, and that took up a lot of time. Now that that&#8217;s done, I may just post to my blog every now and then&#8230; Let&#8217;s start with something simple&#8230; Cats and laptops. Here are 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%2F02%2F18%2Fcat-on-laptop%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2010%2F02%2F18%2Fcat-on-laptop%2F&amp;source=khkremer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It&#8217;s been a while&#8230; My last post was a long time ago. I my defense, I&#8217;ve been working on a project, and that took up a lot of time. Now that that&#8217;s done, I may just post to my blog every now and then&#8230;</p>
<p>Let&#8217;s start with something simple&#8230; Cats and laptops. Here are a few pictures of my cat that I&#8217;ve taken over the last few months. </p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/68335338@N00/4368654203" title="View 'My Turn!' on Flickr.com"><img border="0" width="375" alt="My Turn!" src="http://farm3.static.flickr.com/2637/4368654203_6cf7dfeb06.jpg" height="500"/></a></div>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/68335338@N00/4369402362" title="View 'You don't want to use this?!?' on Flickr.com"><img border="0" width="375" alt="You don't want to use this?!?" src="http://farm5.static.flickr.com/4069/4369402362_007887d061.jpg" height="500"/></a></div>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/68335338@N00/4368653111" title="View 'If The Sun's Not Shining, This Has To Do...' on Flickr.com"><img border="0" width="375" alt="If The Sun's Not Shining, This Has To Do..." src="http://farm5.static.flickr.com/4072/4368653111_0f25053722.jpg" height="500"/></a></div>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/68335338@N00/4368652649" title="View 'Mmmh... Warm!' on Flickr.com"><img border="0" width="375" alt="Mmmh... Warm!" src="http://farm5.static.flickr.com/4045/4368652649_c4b7a63acc.jpg" height="500"/></a></div>
<p>The last picture is the prelude to the next picture &#8211; a while after I took the previous picture I needed my laptop again. Here is what I found on the screen:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/68335338@N00/4369530114" title="View 'The Cat Selected That' on Flickr.com"><img border="0" width="375" alt="The Cat Selected That" src="http://farm3.static.flickr.com/2464/4369530114_568a9c032c.jpg" height="500"/></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2010/02/18/cat-on-laptop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is Microsoft Behind This?!?</title>
		<link>http://www.khk.net/wordpress/2009/08/03/is-microsoft-behind-this/</link>
		<comments>http://www.khk.net/wordpress/2009/08/03/is-microsoft-behind-this/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 17:51:54 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[amazon.com]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://khk.net/wordpress/?p=598</guid>
		<description><![CDATA[Amazon.com sent me an email yesterday, informing me that Mac OS X 10.6 (Snow Leopard) is available for pre-order. Because I have more than one Mac, I&#8217;m of course interested in the family pack for up to five computers. When I visited the page on Amazon, I was surprised to see what customers bought after [...]]]></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%2F2009%2F08%2F03%2Fis-microsoft-behind-this%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2009%2F08%2F03%2Fis-microsoft-behind-this%2F&amp;source=khkremer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Amazon.com sent me an email yesterday, informing me that Mac OS X 10.6 (Snow Leopard) is available for pre-order. Because I have more than one Mac, I&#8217;m of course interested in the family pack for up to five computers. When I visited the page on Amazon, I was surprised to see what customers bought after visiting that page: </p>
<div style="text-align:center;"><img src="http://khk.net/wordpress/wp-content/uploads/2009/08/PDFSnowLeopardPreOrder.png" alt="SnowLeopardPreOrder.png" border="0" width="500" /></div>
<p>That looks very suspicious&#8230; My first thought was that Microsoft might be behind that, doing some &#8220;optimization&#8221; behind Amazon&#8217;s back. Just to be sure that it was not just a fluke, I visited the site again today, and the numbers are still the same. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2009/08/03/is-microsoft-behind-this/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Magic Is Back &#8211; in GarageBand</title>
		<link>http://www.khk.net/wordpress/2008/03/08/the-magic-is-back-in-garageband/</link>
		<comments>http://www.khk.net/wordpress/2008/03/08/the-magic-is-back-in-garageband/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 15:41:02 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://khk.net/wordpress/2008/03/08/the-magic-is-back-in-garageband/</guid>
		<description><![CDATA[I finally got a chance to test the GarageBand 4.1.2 update that was released last week in regards to the bug I discovered back when the Magic GarageBand feature was first released. Just to recap: When the Magic feature was used with the Music/GarageBand directory on a different physical disk than the /Library folder, I [...]]]></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%2F2008%2F03%2F08%2Fthe-magic-is-back-in-garageband%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2008%2F03%2F08%2Fthe-magic-is-back-in-garageband%2F&amp;source=khkremer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I finally got a chance to test the GarageBand 4.1.2 update that was released last week in regards to the <a href="http://khk.net/wordpress/2007/08/20/garageband-magic-too-much-magic/">bug I discovered back when the Magic GarageBand feature was first released</a>.</p>
<p>Just to recap: When the Magic feature was used with the Music/GarageBand directory on a different physical disk than the /Library folder, I ended up with a bunch of cryptic error messages and an empty project.</p>
<p>The problem is finally fixed: I was able to create a Magic GarageBand project on my liked Music directory. I guess Apple is telling me to pick up my guitar again&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2008/03/08/the-magic-is-back-in-garageband/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update for GarageBand&#8230;</title>
		<link>http://www.khk.net/wordpress/2007/09/29/update-for-garageband/</link>
		<comments>http://www.khk.net/wordpress/2007/09/29/update-for-garageband/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 01:39:14 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://khk.net/wordpress/2007/09/29/update-for-garageband/</guid>
		<description><![CDATA[&#8230; but still no fix for my problem.]]></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%2F2007%2F09%2F29%2Fupdate-for-garageband%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2007%2F09%2F29%2Fupdate-for-garageband%2F&amp;source=khkremer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>&#8230; but still no fix for my <a href="http://khk.net/wordpress/2007/08/25/my-guitar-gently-weeps-about-my-garageband-problems/">problem</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2007/09/29/update-for-garageband/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Guitar Gently Weeps &#8211; about my GarageBand Problems</title>
		<link>http://www.khk.net/wordpress/2007/08/25/my-guitar-gently-weeps-about-my-garageband-problems/</link>
		<comments>http://www.khk.net/wordpress/2007/08/25/my-guitar-gently-weeps-about-my-garageband-problems/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 15:30:46 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://khk.net/wordpress/2007/08/25/my-guitar-gently-weeps-about-my-garageband-problems/</guid>
		<description><![CDATA[See my original writeup for some background information. I finally got an email response from an AppleCare Product Specialist. Unfortunately, the response was not very helpful: It looks like they are now ignoring my original problem and are spending too much time on my question about a workaround. They still have not acknowledged that this [...]]]></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%2F2007%2F08%2F25%2Fmy-guitar-gently-weeps-about-my-garageband-problems%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2007%2F08%2F25%2Fmy-guitar-gently-weeps-about-my-garageband-problems%2F&amp;source=khkremer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>See my <a href="http://khk.net/wordpress/2007/08/20/garageband-magic-too-much-magic/">original writeup for some background</a> information.</p>
<p>I finally got an email response from an AppleCare Product Specialist. Unfortunately, the response was not very helpful: It looks like they are now ignoring my original problem and are spending too much time on my question about a workaround. They still have not acknowledged that this is a bug in GarageBand.</p>
<p>After I figured out what causes the problem (linking the GarageBand folder to a different hard disk), I asked if there was a mechanism to configure GarageBand with a different default folder.  They told me that this is not possible and &#8220;So there is no fix for this and it is normal behavior.&#8221;</p>
<p>I have a hard time to accept that this is &#8220;normal behavior&#8221; &#8211; storing your data on a non-startup disk is something I&#8217;ve done for years (decades?) and even though it may not be a standard configuration, if every other feature of GarageBand works with my environment, Magic GarageBand should work as well.</p>
<p>Let&#8217;s just assume that this is another case of a &#8220;Product Specialist&#8221; filtering out too much information when relaying this information to an engineer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2007/08/25/my-guitar-gently-weeps-about-my-garageband-problems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GarageBand Magic &#8211; too much magic?</title>
		<link>http://www.khk.net/wordpress/2007/08/20/garageband-magic-too-much-magic/</link>
		<comments>http://www.khk.net/wordpress/2007/08/20/garageband-magic-too-much-magic/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 13:08:12 +0000</pubDate>
		<dc:creator>khk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://khk.net/wordpress/2007/08/20/garageband-magic-too-much-magic/</guid>
		<description><![CDATA[I know that the new iLife &#8217;08 GarageBand Magic feature is not a substitute for Band in a Box (or the Windows version), but it would be an easy way to make my (rare) guitar practice sessions more interesting. So, imagine my surprise when I just ended up with a bunch of error messages like [...]]]></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%2F2007%2F08%2F20%2Fgarageband-magic-too-much-magic%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.khk.net%2Fwordpress%2F2007%2F08%2F20%2Fgarageband-magic-too-much-magic%2F&amp;source=khkremer&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I know that the new iLife &#8217;08 GarageBand Magic feature is not a substitute for <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FPG-Music-BB00455-Band-In-A-Box-12%2Fdp%2FB00008NJEN%3Fie%3DUTF8%26s%3Dsoftware%26qid%3D1187612697%26sr%3D1-2&amp;tag=spechtshomepa-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325">Band in a Box</a><img src="http://www.assoc-amazon.com/e/ir?t=spechtshomepa-20&amp;l=ur2&amp;o=1" style="border: medium none " border="0" height="1" width="1" /> (or the <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FBand-in-a-Box-2007%2Fdp%2FB0002VCUZK%3Fie%3DUTF8%26s%3Dsoftware%26qid%3D1187612697%26sr%3D1-1&amp;tag=spechtshomepa-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325">Windows version</a><img src="http://www.assoc-amazon.com/e/ir?t=spechtshomepa-20&amp;l=ur2&amp;o=1" style="border: medium none  ! important; margin: 0px ! important" border="0" height="1" width="1" />), but it would be an easy way to make my (rare) guitar practice sessions more interesting. So, imagine my surprise when I just ended up with a bunch of error messages like this one &#8216;Audio file &#8220;Original Bass#3.caf&#8221; not found.&#8217;, with the option to skip or to search (which of course does not find anything) &#8230;<br />
<a href="http://khk.net/wordpress/wp-content/uploads/2007/08/garageband_error.png" title="garageband_error.png"><img src="http://khk.net/wordpress/wp-content/uploads/2007/08/garageband_error.thumbnail.png" alt="garageband_error.png" /></a></p>
<p>&#8230; and a few minutes of silence in the resulting projects:</p>
<p><a href="http://khk.net/wordpress/wp-content/uploads/2007/08/garageband_error_2.png" title="garageband_error_2.png"><img src="http://khk.net/wordpress/wp-content/uploads/2007/08/garageband_error_2.thumbnail.png" alt="garageband_error_2.png" /></a></p>
<p>So, it looked like a major new feature of GarageBand was not working, therefore it should be fairly easy to find out why and what to do about it by googling for this problem&#8230; Wrong, it turns out that almost nobody is having this problem. I found <a href="http://discussions.apple.com/thread.jspa?threadID=1084638&amp;tstart=0" title="Thread on Apple's Support Site">one thread on Apple&#8217;s support site</a> with a workaround, but I hate to copy files without understanding why and what the impact would be.  I have Apple Care protection for my Mac Pro, so let&#8217;s give Apple a call&#8230; After 79 minutes on the phone with them, I figured out what&#8217;s causing this problem, and then I tried to convince them that  it&#8217;s indeed a genuine bug in the software. While talking to them, I tried a few things on my system, and slowly developed a theory, and verified it:</p>
<p>My system is setup with the original startup disk that stores all applications, but I added three more disks, which I&#8217;m running in a <a href="http://en.wikipedia.org/wiki/RAID">RAID</a> configuration to store all data files. To make this work, I am using links in my home directory to link directories like Movies, Music or Pictures to their actual storage location on the second disk. This works with all applications that make use of these files (e.g. Adobe&#8217;s Photoshop Lightroom, iTunes, iPhoto, iMovie &#8211; the old one, haven&#8217;t tried the new version yet &#8211; or iDisk). GarageBand also works, as long as I&#8217;m not using the new Magic feature.</p>
<p>Magic GarageBand saves the new project to it&#8217;s default location, which is the user&#8217;s Music/GarageBand directory. The user has no control over that. While it&#8217;s saving the project, it needs to access the .caf files, which contain the instrument tracks. These files are stored in the individual directories in /Library/Application Support/Garage/Band/Magic GarageBand. It looks like it can only find these files if  the Music/GarageBand directory is on the same disk as the /Library directory (meaning, the startup disk).</p>
<p>A Unix link (or to be more accurate, a soft link in this case) should be should be transparent to an application. The operating system takes care of opening the files, regardless of how they  are referenced. GarageBand seems to be different &#8211; it looks like it is using the storage location to generate the path to it&#8217;s configuration and data files (potentially by creating a relative path starting from the project directory). I tried to capture what GarageBand does in ktrace, but I was not able to extract anything useful (that&#8217;s mainly because this was the first time I ever used ktrace). Both people from Apple support that I talked to had no idea what a Unix link was.</p>
<p>Because all other features of GarageBand work with my setup, I&#8217;m labeling this behavior as a bug. So far I don&#8217;t have a workaround besides putting my Music directory back on my startup disk, and linking some of the subdirectories (e.g. Pictures and Movies) to my RAID system.</p>
<p>Let&#8217;s see if Apple can come up with something (or a fix in the next release).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.khk.net/wordpress/2007/08/20/garageband-magic-too-much-magic/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

