<?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>Thinking Digitally &#187; Mac OS X</title>
	<atom:link href="http://thinkingdigitally.com/category/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkingdigitally.com</link>
	<description>programming for the fun of it</description>
	<lastBuildDate>Mon, 15 Aug 2011 02:01:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Adobe CS4 Still Does Not Work On Case-Sensitive File Systems</title>
		<link>http://thinkingdigitally.com/archive/adobe-cs4-still-does-not-work-on-case-sensitive-file-systems/</link>
		<comments>http://thinkingdigitally.com/archive/adobe-cs4-still-does-not-work-on-case-sensitive-file-systems/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 07:24:57 +0000</pubDate>
		<dc:creator>Rob Olson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Adobe CS4]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://thinkingdigitally.com/archive/adobe-cs4s-still-does-not-work-on-case-sensitive-file-systems/</guid>
		<description><![CDATA[Last December, I blogged about the lengths my roommates and I had to go through to get Adobe Photoshop CS3 to install on Leopard formatted with a case-sensitive filesystem. In the end we got it to work. The problem seemed to just be laziness on Adobe&#8217;s part and an oversight by their QA team. Since [...]]]></description>
			<content:encoded><![CDATA[<p>Last December, I blogged about the lengths my roommates and I had to go through to get <a href="http://thinkingdigitally.com/archive/adobe-photoshop-cs3-osx-case-sensitive-filesystem-fixed/">Adobe Photoshop CS3 to install on Leopard formatted with a case-sensitive filesystem</a>. In the end we got it to work. The problem seemed to just be laziness on Adobe&#8217;s part and an oversight by their QA team. Since we were able to get Photoshop CS3 to work without modifying source code, just renaming a batch of files, I fully expected Adobe to be quick to make CS4 work on a case-sensitive Leopard install. Unfortunately, I assumed incorrectly. I got this error message when I tried to install my copy of Photoshop CS4.</p>

<p><img src="http://thinkingdigitally.com/wp-content/uploads/2008/12/cs4-case-sensitive-error.png" alt="The OS volume should be local , writable and should have non case-sensitive file system" /></p>

<p>What the hell!? Adobe, as a professional software company you should be able to do make your software installable on a case-sensitive file system. It&#8217;s really not a lot to ask and every other Mac software developer is able to do it. Honestly, it is assumed that software written for a Unix-based OS will run on a case-sensitive file system so much that it does not even occur to people that there is a possibility that it won&#8217;t work.</p>

<p>The grammar of the error message is also eye catching. I know we can&#8217;t be perfect but I set the bar higher for companies like Adobe who charge a lot of money for their software. So Adobe, in case you didn&#8217;t notice your comma is hanging out between two spaces and there should be an &#8220;a&#8221; between have and non.</p>

<p>I cut Adobe some slack last year when they dropped the ball on CS3. Leopard is the first release of OS X to support a case-sensitive file systems and the release date of CS3 was close to the release date of Leopard. However, a year later with the release of CS4 you opted to add in an error message instead of just fixing the problem? Even after <a href="http://blogs.adobe.com/jnack/2007/10/adobe_apps_on_l.html">tons of people complained on the Adobe blog about it</a>? Unbelievable.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkingdigitally.com/archive/adobe-cs4-still-does-not-work-on-case-sensitive-file-systems/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Camino buying advertising? How and why?</title>
		<link>http://thinkingdigitally.com/archive/camino-buying-advertising-how-and-why/</link>
		<comments>http://thinkingdigitally.com/archive/camino-buying-advertising-how-and-why/#comments</comments>
		<pubDate>Sat, 17 May 2008 21:12:22 +0000</pubDate>
		<dc:creator>Rob Olson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[camino]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://thinkingdigitally.com/archive/camino-buying-advertising-how-and-why/</guid>
		<description><![CDATA[Today I was surprised to see an advertisement for the Camino web browser while surfing the web. This struck me as odd because Camino is an open source project that is available for free. Camino exists under the Mozilla Foundation which I know has a good chunk of money but I&#8217;m certain that they aren&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was surprised to see an advertisement for the <a href="http://caminobrowser.org/">Camino web browser</a> while surfing the web. This struck me as odd because Camino is an open source project that is available for <em>free</em>. Camino exists under the Mozilla Foundation which I know has a good chunk of money but I&#8217;m certain that they aren&#8217;t giving any of it to Camino for advertising. So how are they paying for it?</p>

<p><img src="http://farm3.static.flickr.com/2182/1813214033_1a6e9821ac.jpg" class="display-inline-right" /></p>

<p>According to Samuel Sidler, Team Coordinator of the Camino Project, the money came from the <a href="http://samuelsidler.com/2008/05/06/camino-advertising/">generosity of various people</a>. First of all, kudos to the various people. I really respect people who donate to open source projects, but is advertising really what Camino needs?</p>

<p>Camino certainly deserves more attention. Camino is currently my favorite web browser on OS X and I would like to see it be more widely adopted. Firefox 2 is slow and fugly and Safari does not have some of the features I demand like quick searches. I&#8217;m expecting Firefox 3 to give Camino a good run at being my default browser on OS X. I would certainly love to go back to using extensions without having to open another browser.</p>

<p>I remember when Firefox was making a big push to build up their user base. They did a great job of getting their users to promote Firefox in a zillion different ways including <a href="http://www.firefoxflicks.com/">homemade commercials</a>, a <a href="http://maps.google.com/?ie=UTF8&amp;om=1&amp;z=16&amp;ll=45.123785,-123.113962&amp;spn=0.012112,0.024097&amp;t=h">crop circle</a>, and a <a href="http://www.mozilla.org/press/mozilla-2004-12-15.html">New York Times ad</a>. The Firefox marketing team always got their users involved and never &#8220;just bought ad space&#8221; to my knowledge. Why isn&#8217;t Camino doing the same?</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkingdigitally.com/archive/camino-buying-advertising-how-and-why/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ditching Monaco</title>
		<link>http://thinkingdigitally.com/archive/ditching-monaco/</link>
		<comments>http://thinkingdigitally.com/archive/ditching-monaco/#comments</comments>
		<pubDate>Sun, 04 May 2008 06:43:54 +0000</pubDate>
		<dc:creator>Rob Olson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[monaco]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://thinkingdigitally.com/archive/ditching-monaco/</guid>
		<description><![CDATA[This month marks the year since I purchased my 13&#8243; Macbook and I have to say I&#8217;ve had fewer problems when my Mac than any other computer I&#8217;ve owned. That also means I&#8217;ve been using TextMate as my primary editor for a year which has also been great. I can&#8217;t say that I like its [...]]]></description>
			<content:encoded><![CDATA[<p>This month marks the year since I purchased my 13&#8243; Macbook and I have to say I&#8217;ve had fewer problems when my Mac than any other computer I&#8217;ve owned.</p>

<p>That also means I&#8217;ve been using <a href="http://macromates.com/">TextMate</a> as my primary editor for a year which has also been great. I can&#8217;t say that I like its functionality that any more than ViM&#8217;s but it sure does look better.</p>

<p>I&#8217;ve been using OS X&#8217;s default fixed width font Monaco up till now which is gorgeous but its been a year now and I&#8217;m ready to see what else is out there.</p>

<p>For reference this is a look at what TextMate looks like using Monaco. I&#8217;m using the Twilight theme.</p>

<p><img src="http://thinkingdigitally.com/wp-content/uploads/2008/05/monaco.png" alt="Monaco" title="Monaco" /></p>

<p>The font I ultimately decided on is <a href="http://www.levien.com/type/myfonts/inconsolata.html">Inconsolata</a>. It looks great at 14pt.</p>

<p><img src="http://thinkingdigitally.com/wp-content/uploads/2008/05/inconsolata.png" alt="Inconsolata" title="Inconsolata" /></p>

<p><strong>Note!</strong> I did a poor job with the screenshots and its hard to notice a difference but it&#8217;s there! Try switching your own terminal to Inconsolata 14pt to see the difference more clearly.</p>

<p>The way Monaco letters are very close together feels a little sloppy in places and while thats certainly part of its appeal, I&#8217;m ready to try something a little more defined. Inconsolata feels great so far. I&#8217;ve also switched Terminal.app to use Inconsolata and it looks great there as well.</p>

<p><span id="more-45"></span></p>

<p>I also tried a couple other fonts. Two of them were decent and worth considering. The first is <a href="http://www.gnome.org/fonts/">Bitstream Vera Sans Mono</a> which is my second choice after Inconsolata.</p>

<p><img src="http://thinkingdigitally.com/wp-content/uploads/2008/05/bitstream-verva-sans-mono.png" alt="Bitstream Verva Sans Mono" title="Bitstream Vera Sans Mono" /></p>

<p><a href="http://crydee.sai.msu.ru/ftproot/pub/comp/os/os2/xfree86os2/alpha/binaries/">LuxiMono</a> also caught my eye but it feels a little too old school for my Mac.</p>

<p><img src="http://thinkingdigitally.com/wp-content/uploads/2008/05/luxi-mono.png" alt="Luxi Mono" title="Luxi Mono" /></p>

<p>For a list of other fixed width fonts that have been said to work well with TextMate check out the <a href="http://wiki.macromates.com/Main/AlternativeFonts">Alternative Fonts</a> page on the TextMate wiki.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkingdigitally.com/archive/ditching-monaco/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Sweet Black Terminal Theme for OSX Leopard</title>
		<link>http://thinkingdigitally.com/archive/sweet-black-terminal-theme-for-osx-leopard/</link>
		<comments>http://thinkingdigitally.com/archive/sweet-black-terminal-theme-for-osx-leopard/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 06:21:44 +0000</pubDate>
		<dc:creator>Rob Olson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://thinkingdigitally.com/archive/sweet-black-terminal-theme-for-osx-leopard/</guid>
		<description><![CDATA[The usability black terminal theme that comes with OSX Leopard is definitely lagging. Tom Werth has created a kick ass custom theme that I actually like. It uses Monaco for the font which I have become accustomed to looking at from my long coding sessions in Textmate. Screenshot]]></description>
			<content:encoded><![CDATA[<p>The usability black terminal theme that comes with OSX Leopard is definitely lagging. Tom Werth has <a href="http://blog.toddwerth.com/entries/6">created a kick ass custom theme that I actually like</a>. It uses Monaco for the font which I have become accustomed to looking at from my long coding sessions in Textmate.</p>

<h3>Screenshot</h3>

<p><img src="http://thinkingdigitally.com/wp-content/uploads/2008/01/ir-black-screenshot.png" alt="ir_black screenshot" /></p>
]]></content:encoded>
			<wfw:commentRss>http://thinkingdigitally.com/archive/sweet-black-terminal-theme-for-osx-leopard/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>HOWTO: Setup SSH keys</title>
		<link>http://thinkingdigitally.com/archive/howto-setup-ssh-keys/</link>
		<comments>http://thinkingdigitally.com/archive/howto-setup-ssh-keys/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 23:11:59 +0000</pubDate>
		<dc:creator>Rob Olson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[dsa]]></category>
		<category><![CDATA[keychain]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://thinkingdigitally.com/archive/howto-setup-ssh-keys/</guid>
		<description><![CDATA[Setting up SSH keys is an extremely useful and fairly easy thing to do yet I delayed doing it for over a year because I never found any simple straightforward instructions for how to do it. Here are my straightforward, no nonsense instructions for setting up password-less ssh remote login. Note: In these instructions I [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up <code>SSH</code> keys is an extremely useful and fairly easy thing to do yet I delayed doing it for over a year because I never found any simple straightforward instructions for how to do it.</p>

<p>Here are my straightforward, no nonsense instructions for setting up password-less <code>ssh</code> remote login.</p>

<p><span id="more-20"></span></p>

<p>Note: In these instructions I refer to a local computer and a remote computer. The local computer is your personal computer or the computer your are running <code>ssh</code> from and the remote computer is the computer you are connecting to. If you are connecting to a server that is the remote computer.</p>

<p>Begin by running <strong>ssh-keygen -t dsa</strong> on your local computer. The output will look something like this. When it asks for a passphrase enter something but remember what it is as you will have to enter it again. Later we will find out how to save the passphrase using keychain so we do not have to enter it every time.</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/Users/rob/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/rob/.ssh/id_dsa.
Your public key has been saved in /Users/rob/.ssh/id_dsa.pub.
The key fingerprint is:
e1:9c:c3:55:9a:ab:5f:7d:db:0c:bf:02:67:cd:ac:ce rob@athena.local</pre></div></div>


<p>This will create two files, <code>~/.ssh/id_dsa</code> and <code>~/.ssh/id_dsa.pub</code>. Next we need to append id&#95;dsa.pub to <code>~/.ssh/authorized_keys2</code> on the remote computer</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> .ssh<span style="color: #000000; font-weight: bold;">/</span>id_dsa.pub <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> remote_computer_ip <span style="color: #ff0000;">&quot;cat &gt;&gt; .ssh/authorized_keys2&quot;</span></pre></div></div>


<p>Insert the IP address of the remote computer and run the command (it is all one line). Once that is done the <code>ssh</code> keys are now setup. Test it by connecting to the remote computer.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span>remote-computer
Enter passphrase <span style="color: #000000; font-weight: bold;">for</span> key <span style="color: #ff0000;">'/home/rob/.ssh/id_dsa'</span>:</pre></div></div>


<p>After entering the correct passphrase the remote computer will finish the login process.</p>

<p>At this point we are no better off then we were before. Entering a phasephrase is often more work than a password. To save us the work of entering our passphrase each time we can use Keychain programs. There are keychain programs for OS X and Linux.</p>

<p><strong>Keychain on Mac OS X</strong>: OS X 10.5 will store <code>ssh</code> passphrases in the OS X Keychain the first time you attempt to login.</p>

<p><strong>Keychain on Linux</strong>: On linux we need to install a program similarly named &#8216;keychain&#8217;. Seek out and install keychain from your distribution&#8217;s repositories. After it is installed we need to add the following lines to <code>~/.bash_profile</code>.</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">keychain id_dsa
<span style="color: #7a0874; font-weight: bold;">source</span> ~<span style="color: #000000; font-weight: bold;">/</span>.keychain<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$HOSTNAME</span>-sh</pre></div></div>


<p>Now test it by reopening terminal and keychain should run. Once your passphrase is stored in keychain you will be able to login to the remote computer without being prompted for a passphrase.</p>

<p><strong>Note about RSA:</strong> You may have seen RSA keys used instead of DSA keys. RSA encryption is used by version 1 of the <code>ssh</code> protocol whereas DSA is used by version 2. OpenSSH is capable of using both DSA and RSA keys so you may use whichever you like.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkingdigitally.com/archive/howto-setup-ssh-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run Adobe Photoshop CS3 on a Case Sensitive Filesystem</title>
		<link>http://thinkingdigitally.com/archive/adobe-photoshop-cs3-osx-case-sensitive-filesystem-fixed/</link>
		<comments>http://thinkingdigitally.com/archive/adobe-photoshop-cs3-osx-case-sensitive-filesystem-fixed/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 19:07:01 +0000</pubDate>
		<dc:creator>Rob Olson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://thinkingdigitally.com/archive/adobe-photoshop-cs3-osx-case-sensitive-filesystem-fixed/</guid>
		<description><![CDATA[My roommate just slaved over his macbook for the past ~7 hours to get Adobe Photoshop CS3 to run on Leopard (with a case sensitive filesystem). Adobe has admitted that their products don&#8217;t work in with a case sensitive filesystem but refuse to invest the time required to fix it citing lack of &#8220;user benefit [...]]]></description>
			<content:encoded><![CDATA[<p>My roommate just slaved over his macbook for the past ~7 hours to get Adobe Photoshop CS3 to run on Leopard (with a case sensitive filesystem).  Adobe has admitted that their products don&#8217;t work in with a case sensitive filesystem but refuse to invest the time required to fix it citing lack of &#8220;user benefit provided by case sensitivity&#8221; and that they&#8217;ve &#8220;chosen to invest elsewhere&#8221; <a href="http://blogs.adobe.com/jnack/2007/10/adobe_apps_on_l.html">John Nack</a>.  My roommate spent a few hours and was able to get Photoshop running on his Mac after renaming <em>only 65</em> files.</p>

<p>You can read a full write up of the instructions to get Photoshop working here <a href="http://imaginationunbound.blogspot.com/2007/12/adobe-photoshop-cs3-on-mac-os-x-case.html" title="instructions for adobe cs3 with case sensitive filesystem">http://imaginationunbound.blogspot.com/2007/12/adobe-photoshop-cs3-on-mac-os-x-case.html</a></p>

<div class="resource-list"><dl>
<dt><a href="/wp-content/uploads/2007/12/PhotoshopCS3CaseFixer.sh">
<img src="/images/icons/application_x-shellscript.png" alt="PhotoshopCS3CaseFixer.sh" />PhotoshopCS3CaseFixer.sh</a></dt>
<dd>Modify Photoshop install to work with case sensitive FS.</dd>
</dl></div>

<p><strong>Update 01/10/2008</strong>: Updated the link to the Photoshop fix.<br />
<strong>Update 04/25/2009</strong>: Hosting PhotoshopCS3CaseFixer.sh on this blog since the original blog is no longer maintained.</p>

<p><a href="http://digg.com/apple/Adobe_Photoshop_CS3_OSX_Case_Sensitive_Filesystem_FIXED">digg story</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thinkingdigitally.com/archive/adobe-photoshop-cs3-osx-case-sensitive-filesystem-fixed/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Quick SCP from inside Finder with Applescript</title>
		<link>http://thinkingdigitally.com/archive/quick-scp-from-inside-finder-with-applescript/</link>
		<comments>http://thinkingdigitally.com/archive/quick-scp-from-inside-finder-with-applescript/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 03:15:51 +0000</pubDate>
		<dc:creator>Rob Olson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[automator]]></category>
		<category><![CDATA[quicksilver]]></category>
		<category><![CDATA[scp]]></category>

		<guid isPermaLink="false">http://thinkingdigitally.com/?p=11</guid>
		<description><![CDATA[Because I own both a Macbook and a Linux desktop I frequently need to transfer files to my desktop for my laptop. This is usually a painless process of opening Terminal and typing an SCP command but I wrote a script to automate this process for me. I use the script by first selecting the [...]]]></description>
			<content:encoded><![CDATA[<p>Because I own both a Macbook and a Linux desktop I frequently need to transfer files to my desktop for my laptop.  This is usually a painless process of opening Terminal and typing an <a href="http://en.wikipedia.org/wiki/Secure_copy">SCP</a> command but I wrote a script to automate this process for me.</p>

<p>I use the script by first selecting the files I want to transfer and then invoke <a href="http://docs.blacktree.com/quicksilver/what_is_quicksilver">Quicksilver</a> run &#8220;quickscp&#8221;.  The script grabs the files I have selected in Finder and SCPes each one to the destination specified in the script. For this to work I first had to setup ssh keys on my desktop so scp can log in without prompting me for my password, this is essential for the transfer process to be seamless.</p>

<p>For non Quicksilver users I also created an Automator workflow which can be saved as a Finder plugin and then invoked by right clicking on the file -&gt; More -&gt; Automator -&gt; &#8216;name of plugin&#8217;.</p>

<p>Before using either script you have to change the destination variable to the ip address or hostname of the computer you want the files to be transfered to.</p>

<div class="resource-list"><dl>

<dt><a href="/wp-content/uploads/2007/12/quickscp.scpt">
<img src="/images/icons/text_plain.png" alt="quickscp.scpt" />
Quick SCP Applescript</a></dt>
<dd>For use with Quicksilver. Updated December 6, 2007</dd>

<dt><a href="/wp-content/uploads/2007/12/quickscpworkflow.zip">
<img src="/images/icons/application_x-compress.png" alt="quickscp.workflow" />
Quick SCP Automator Workflow</a></dt>
<dd>Updated December 6, 2007</dd>

</dl></div>
]]></content:encoded>
			<wfw:commentRss>http://thinkingdigitally.com/archive/quick-scp-from-inside-finder-with-applescript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Change VLC cache preference with a Finder plugin using Automator</title>
		<link>http://thinkingdigitally.com/archive/change-vlc-cache-preference-with-a-finder-plugin-using-automator/</link>
		<comments>http://thinkingdigitally.com/archive/change-vlc-cache-preference-with-a-finder-plugin-using-automator/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 04:18:53 +0000</pubDate>
		<dc:creator>Rob Olson</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[automator]]></category>
		<category><![CDATA[finder plugin]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[vlc]]></category>

		<guid isPermaLink="false">http://thinkingdigitally.com/?p=6</guid>
		<description><![CDATA[Over on MacOSXHints.com there is a great tip showing how to use Automator to set VLC caching delays. Something like this is great (actually essential) for anyone who watches videos or listens to music over a network share (Samba, NFS, AFP). I do this almost daily and before it was annoying because the video would [...]]]></description>
			<content:encoded><![CDATA[<p>Over on MacOSXHints.com there is a great tip showing <a href="http://www.macosxhints.com/article.php?story=20071105205525319">how to use Automator to set VLC caching delays</a>.  Something like this is great (actually essential) for anyone who watches videos or listens to music over a network share (Samba, NFS, AFP). I do this almost daily and before it was annoying because the video would be very jaggy because VLC was not caching enough of the video ahead of time.  The solution to this was to change the following preference in VLC: Input / Codecs -&gt; Access Modules -&gt; File -&gt; (click Advanced) -&gt; Caching value in ms.  This is a huge hassle so nclark42 wrote an automator action that changed the preference for you (that is the workflow given on macosxhints).  To run that script you must first run either the network workflow or the local workflow depending on where your video is located and then open the video file which is fine but my roommate suggested that it would be nice if you could just open the file in finder and have the script set the correct preference for you.</p>

<p>And thus I cooked up this alternative Automator action. One is scripted in Ruby and the other is done in Applescript. They do the same thing I am just providing both is case anyone has a preference. Each script takes the following actions:</p>

<ol>
<li>Check is VLC is running</li>
<li>If VLC is running close it and sleep for 1 second</li>
<li>Check the path of the file, if it starts with &#8220;/Volumes&#8221; then change the caching preference to 5000 ms, otherwise set it to the default 300 ms.</li>
<li>Sleep for another second.</li>
<li>Launch VLC and play the video.</li>
</ol>

<p>According to MaxOSXHints, the pauses are necessary to allow VLC to write out to the vlcrc file before we make our changes. To use the workflow, open it Automator then select File -&gt; Save as Plugin. Make sure Finder plugin is selected and give it a name like &#8220;Open in VLC and change cache&#8221;. Finally open finder, right click on a video and select More -&gt; Automator -&gt; Open in VLC and change cache.</p>

<p>I wrote the script twice, once using Ruby and once using Applescript.Â  Both do exactly the same thing so just pick one and use it. I am making both available in case someone wants to look at them. I tested the scripts in OS X 10.5 but they should work with 10.4 as well.</p>

<div class="resource-list"><dl>

<dt><a href="/wp-content/uploads/2007/12/vlc-w-rubyworkflow.zip">
<img src="/images/icons/application_x-ruby.png" alt="VLC w/ Ruby.workflow" />
VLC Cache Modifier</a></dt>
<dd>Ruby version. See instructions above. Updated December 6, 2007</dd>

<dt><a href="/wp-content/uploads/2007/12/vlc-w-applescriptworkflow.zip">
<img src="/images/icons/text_plain.png" alt="VLC w/ Applescript.workflow" />
VLC Cache Modifier 2</a></dt>
<dd>Applescript version. See instructions above. Works exactly the same as the one above. Updated December 6, 2007</dd>

</dl></div>
]]></content:encoded>
			<wfw:commentRss>http://thinkingdigitally.com/archive/change-vlc-cache-preference-with-a-finder-plugin-using-automator/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

