<?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>jamiephelps.com &#187; Applescript</title>
	<atom:link href="http://www.jamiephelps.com/tag/applescript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jamiephelps.com</link>
	<description>Proving the sunshine since 1980.</description>
	<lastBuildDate>Fri, 14 May 2010 13:40:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I FUCKING HATE ADOBE READER HIJACKING MY PDF VIEWING IN SAFARI</title>
		<link>http://www.jamiephelps.com/all/i-fucking-hate-adobe-reader-hijacking-my-pdf-viewing-in-safari</link>
		<comments>http://www.jamiephelps.com/all/i-fucking-hate-adobe-reader-hijacking-my-pdf-viewing-in-safari#comments</comments>
		<pubDate>Tue, 22 Apr 2008 19:47:56 +0000</pubDate>
		<dc:creator>Jamie Phelps</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Scratching Itches]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[hazel]]></category>
		<category><![CDATA[noodlesoft]]></category>

		<guid isPermaLink="false">http://www.jamiephelps.com/?p=84</guid>
		<description><![CDATA[I got really fed up with Adobe hijacking my PDF viewing with their bloated plug-in. Preview is just flat better for just reading a PDF. In the past, it was a configurable option in Acrobat Professional or Acrobat Reader preferences, but to my chagrin, they&#8217;ve now decided that the user can&#8217;t be allowed to choose [...]]]></description>
			<content:encoded><![CDATA[<p>I got really fed up with Adobe hijacking my PDF viewing with their bloated plug-in. Preview is just flat better for just reading a PDF. In the past, it was a configurable option in Acrobat Professional or Acrobat Reader preferences, but to my chagrin, they&#8217;ve now decided that the user can&#8217;t be allowed to choose how to view PDF&#8217;s as evidenced by this screenshot:
<a href="http://www.flickr.com/photos/27144353@N00/2434871784" title="View 'Preferences-2' on Flickr.com"><img src="http://farm4.static.flickr.com/3275/2434871784&#95;3655367b5e&#95;m.jpg" alt="Preferences-2" border="0" width="240" height="176" /></a></p>

<p>Frustrated, I turned to Twitter for help. Robert Marini (@wisequark) was Johnny-on-the-spot with the solution. Here&#8217;s the Twitter discussion in a thread for your easy following: <a href="http://quotably.com/jxpx777/statuses/794527269">http://quotably.com/jxpx777/statuses/794527269</a> So, it turns out that Adobe not only hijacks my PDF viewing, but any time I update any of my Adobe software (I have CS3 Master Collection.) They&#8217;re going to reinstall the thing. &#8220;Bullshit,&#8221; says I, so I fired up <a href="http://www.noodlesoft.com">Hazel</a> to fix it for good.</p>

<p>Read on for my solution using Hazel.
<span id="more-84"></span>
First, add &#8220;/Library/Internet Plug-Ins&#8221; to your list of folders that you want Hazel to watch.</p>

<p>Next, create a rule for Hazel to apply to this folder. Here&#8217;s mine:
<a href="http://www.flickr.com/photos/27144353@N00/2434870518" title="View 'System Preferences' on Flickr.com"><img src="http://farm4.static.flickr.com/3116/2434870518&#95;2f602aa657.jpg" alt="System Preferences" border="0" width="500" height="364" align="left" /></a></p>

<p>You can enter whatever you like for the description. I wanted something memorable for when I come back to this and wonder why I have Hazel watching Internet Plug-Ins folder. Then I can say, &#8220;Oh, yes, that&#8217;s right – because I fucking hate Adobe&#8217;s bad behavior.&#8221; The Growl notification is optional, but it will make me feel better. The key points to this rule are the [Name] [contains] &#8220;adobe&#8221; bit and the [Move file] to folder: [Trash] bit. Then, for good measure, I have an Applescript that empties the trash and relaunches Safari.</p>

<p>Take that, Adobe.</p>
<img src="http://www.jamiephelps.com/?ak_action=api_record_view&id=84&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.jamiephelps.com/all/i-fucking-hate-adobe-reader-hijacking-my-pdf-viewing-in-safari/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Applescript to Add Specified Track(s) to Specified Playlist(s)</title>
		<link>http://www.jamiephelps.com/all/applescript-to-add-specified-tracks-to-specified-playlists</link>
		<comments>http://www.jamiephelps.com/all/applescript-to-add-specified-tracks-to-specified-playlists#comments</comments>
		<pubDate>Thu, 22 Nov 2007 04:58:25 +0000</pubDate>
		<dc:creator>Jamie Phelps</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://www.jamiephelps.com/all/applescript-to-add-specified-tracks-to-specified-playlists</guid>
		<description><![CDATA[This is an Applescript I whipped up over the past day or so to facilitate adding the currently playing or currently selected track(s) to one or more playlists. It includes facility to create a new playlist to add the track(s) to. More information is in the included README file.

Download it here, and leave any feedback [...]]]></description>
			<content:encoded><![CDATA[<p>This is an Applescript I whipped up over the past day or so to facilitate adding the currently playing or currently selected track(s) to one or more playlists. It includes facility to create a new playlist to add the track(s) to. More information is in the included README file.</p>

<p><a href='http://www.jamiephelps.com/all/applescript-to-add-specified-tracks-to-specified-playlists/74/' rel='attachment wp-att-74' title='addcurrenttrackorselectiontospecifiedplaylists.zip'>Download it here,</a> and leave any feedback in the comments on this post.</p>
<img src="http://www.jamiephelps.com/?ak_action=api_record_view&id=75&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.jamiephelps.com/all/applescript-to-add-specified-tracks-to-specified-playlists/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes Growl Applescript with Artwork</title>
		<link>http://www.jamiephelps.com/programming/applescript/itunes-growl-applescript-with-artwork</link>
		<comments>http://www.jamiephelps.com/programming/applescript/itunes-growl-applescript-with-artwork#comments</comments>
		<pubDate>Thu, 21 Jun 2007 11:35:40 +0000</pubDate>
		<dc:creator>Jamie Phelps</dc:creator>
				<category><![CDATA[Applescript]]></category>

		<guid isPermaLink="false">http://www.jamiephelps.com/programming/applescript/itunes-growl-applescript-with-artwork</guid>
		<description><![CDATA[I made some modifications to <a href="http://www.plasticstare.com/plains/">Ryan Todd's</a> <a href="http://www.plasticstare.com/plains/2007/02/05/teach-itunes-to-growl-on-command/">excellent script for on-demand Growl notifications for iTunes</a> to include album artwork and adjust the formatting of the notification to my taste.]]></description>
			<content:encoded><![CDATA[<p>Sometimes I don&#8217;t know what a particular track in my iTunes library is called. I usually know the artist and album, but mostly I know tracks by their numbers. When I can&#8217;t remember the name, I can&#8217;t think of any better way to display it than an on-demand Growl notification.</p>

<p>As any good scripter does before setting out to write his own, I went to Google. Sure enough <a href="http://www.plasticstare.com/plains/">Ryan Todd of plasticstare.com</a> had written <a href="http://www.plasticstare.com/plains/2007/02/05/teach-itunes-to-growl-on-command/">a script</a> to do just that.</p>

<p>But, I wasn&#8217;t feeling the generic icon of iTunes accompanying my notifications, and I wasn&#8217;t in love with the verbosity of the notifications. So, again, like any good scripter, I modified it to suit me!</p>

<p><a href="http://www.jamiephelps.com/file&#95;download/15">Here is my effort.</a> All the credit for the general functionality of the script goes to Ryan. I essentially modified formatting (basically to make it more like the notifications I get from iScrobbler) and added the iTunes artwork as the image to display. Nothing too heady. As with my automatic notifications on track change, I prefer the music video Growl style for this.</p>

<p>Enjoy!</p>
<img src="http://www.jamiephelps.com/?ak_action=api_record_view&id=25&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.jamiephelps.com/programming/applescript/itunes-growl-applescript-with-artwork/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
