<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Auto Mac &#187; Applescript</title>
	<atom:link href="http://automac.wordpress.com/category/applescript/feed/" rel="self" type="application/rss+xml" />
	<link>http://automac.wordpress.com</link>
	<description>Productivity, Automation, Scripting and other Mac goodness!</description>
	<lastBuildDate>Sun, 24 Jun 2007 03:30:43 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='automac.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/5040b3e5fcc1eb5a80d20281199a7761?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Auto Mac &#187; Applescript</title>
		<link>http://automac.wordpress.com</link>
	</image>
			<item>
		<title>Don&#8217;t Forget Your Chores: Empty the Trash!</title>
		<link>http://automac.wordpress.com/2007/06/24/dont-forget-your-chores-empty-the-trash/</link>
		<comments>http://automac.wordpress.com/2007/06/24/dont-forget-your-chores-empty-the-trash/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 02:47:40 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Finder]]></category>

		<guid isPermaLink="false">http://automac.wordpress.com/2007/06/24/dont-forget-your-chores-empty-the-trash/</guid>
		<description><![CDATA[how?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=19&subd=automac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you find your self forgetting to empty the trash on a regular basis, why not automate it?  The following applescript can be used to do just that.</p>
<p><PRE style="background:#ECECEC;line-height:5pt;font-size:10pt;"><br />
<CODE style="color:#3371A3;line-height:5pt;font-size:10pt;">tell application &quot;Finder&quot;<br />
    empty the trash<br />
end tell<br />
</CODE><br />
</PRE><br />
Alternatively, if you wanted to execute the cleanup from a shell script, or a one liner in your <a href="http://en.wikipedia.org/wiki/Crontab">crontab</a>, the following one liner could be utilized:</p>
<p><PRE style="background:#ECECEC;line-height:5pt;font-size:10pt;"><br />
<CODE style="color:#3371A3;line-height:5pt;font-size:10pt;">osascript -e &#8216;tell application &#8220;Finder&#8221; to empty the trash&#8217;<br />
</CODE><br />
</PRE><br />
<strong>NOTE</strong>: In contrast to the command driven instructions represented in the Wikipedia article above, a nice GUI alternative is <a href="http://www.abstracture.de/projects-en/cronnix">CronniX</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/automac.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/automac.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/automac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/automac.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/automac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/automac.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/automac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/automac.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/automac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/automac.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/automac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/automac.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=19&subd=automac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://automac.wordpress.com/2007/06/24/dont-forget-your-chores-empty-the-trash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/340e0f6181db7ae2e680f071a6bb6fa3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Dave</media:title>
		</media:content>
	</item>
		<item>
		<title>Folder Action: Moving Files and Keeping Organized</title>
		<link>http://automac.wordpress.com/2007/06/22/folder-action-moving-files-and-keeping-organized/</link>
		<comments>http://automac.wordpress.com/2007/06/22/folder-action-moving-files-and-keeping-organized/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 06:46:55 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Folder Actions]]></category>

		<guid isPermaLink="false">http://automac.wordpress.com/2007/06/22/folder-action-moving-files-and-keeping-organized/</guid>
		<description><![CDATA[Folder actions are a nice way to save yourself mouse clicks and keystrokes.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=14&subd=automac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.apple.com/applescript/folderactions/">Folder actions</a> are a nice way to save yourself mouse clicks and keystrokes.  The applescript below, when assigned to your &#8220;Desktop&#8221; folder, will move all new torrent files to a subfolder named &#8220;torrents&#8221;.  Now when you download .torrent files from your tracker of choice, you can let Safari, or Firefox, save the file to it&#8217;s default location, which is usually the &#8220;Desktop&#8221; folder.  When the file is written to disk, it will be automatically moved for you, keeping your workspace nice and organized.</p>
<p><PRE style="background:#ECECEC;line-height:5pt;font-size:10pt;"><br />
<CODE style="color:#3371A3;line-height:5pt;font-size:10pt;"><br />
property fdest : &#8220;torrents&#8221;</p>
<p>on adding folder items to thefolder after receiving theAddedItems<br />
	repeat with eachitem in theAddedItems<br />
		tell application &#8220;Finder&#8221;<br />
			if (name of eachitem ends with &#8220;.torrent&#8221;) then<br />
				move eachitem to folder fdest<br />
			end if<br />
		end tell<br />
	end repeat<br />
end adding folder items to<br />
</CODE><br />
</PRE><br />
The above applescript can easily be tailored to organize other types of files, such as pictures or music.  Remember, a cluttered environment leads to a cluttered mind.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/automac.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/automac.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/automac.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/automac.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/automac.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/automac.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/automac.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/automac.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/automac.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/automac.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/automac.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/automac.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=14&subd=automac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://automac.wordpress.com/2007/06/22/folder-action-moving-files-and-keeping-organized/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/340e0f6181db7ae2e680f071a6bb6fa3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Dave</media:title>
		</media:content>
	</item>
		<item>
		<title>Volume Control</title>
		<link>http://automac.wordpress.com/2007/06/18/volume-control/</link>
		<comments>http://automac.wordpress.com/2007/06/18/volume-control/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 04:12:38 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Audio]]></category>

		<guid isPermaLink="false">http://automac.wordpress.com/2007/06/18/volume-control/</guid>
		<description><![CDATA[Adjusting the volume via applescript can be very useful.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=11&subd=automac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Adjusting the audio volume via applescript can be very useful.  Here&#8217;s how to raise the volume on your system 10 notches (out of 100):</p>
<pre style="background:#ececec none repeat scroll 0 50%;line-height:5pt;font-size:10pt;">
 <code style="color:#3371a3;line-height:10pt;font-size:10pt;">-- volume up 10
 set current_volume to output volume of (get volume settings)

 if current_volume is less than 100 then
 	set current_volume to current_volume + 10
 end if

 set volume output volume current_volume
</code></pre>
<p>If you are using a using a keyboard that isn&#8217;t designed for the Mac and doesn&#8217;t have functioning multimedia controls, variations of this script can come in handy when assigned to keyboard shortcuts.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/automac.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/automac.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/automac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/automac.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/automac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/automac.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/automac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/automac.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/automac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/automac.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/automac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/automac.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=11&subd=automac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://automac.wordpress.com/2007/06/18/volume-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/340e0f6181db7ae2e680f071a6bb6fa3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Dave</media:title>
		</media:content>
	</item>
		<item>
		<title>Mount an iDisk via Applescript</title>
		<link>http://automac.wordpress.com/2007/06/14/mount-an-idisk-via-applescript/</link>
		<comments>http://automac.wordpress.com/2007/06/14/mount-an-idisk-via-applescript/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 04:12:48 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[.Mac]]></category>
		<category><![CDATA[Applescript]]></category>

		<guid isPermaLink="false">http://automac.wordpress.com/2007/06/14/mount-an-idisk-via-applescript/</guid>
		<description><![CDATA[Using this snippet, you can easily mount an iDisk from a script.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=7&subd=automac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Using this snippet, you can easily mount an iDisk from a script.  Replace every instance of &#8220;USER&#8221; and &#8220;PASS&#8221; with the appropriate values.</p>
<p><PRE style="background:#ECECEC;line-height:5pt;font-size:10pt;"><br />
<CODE style="color:#3371A3;line-height:5pt;font-size:10pt;">tell application &quot;Finder&quot;<br />
    mount volume &quot;http://idisk.mac.com/USER/&quot; ¬<br />
    as user name &quot;USER&quot; with password &quot;PASS&quot;<br />
end tell<br />
</CODE><br />
</PRE></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/automac.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/automac.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/automac.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/automac.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/automac.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/automac.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/automac.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/automac.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/automac.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/automac.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/automac.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/automac.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=7&subd=automac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://automac.wordpress.com/2007/06/14/mount-an-idisk-via-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/340e0f6181db7ae2e680f071a6bb6fa3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Dave</media:title>
		</media:content>
	</item>
		<item>
		<title>Wednesday One Liner : Screen Saver</title>
		<link>http://automac.wordpress.com/2007/06/13/wednesday-one-liner-screen-saver/</link>
		<comments>http://automac.wordpress.com/2007/06/13/wednesday-one-liner-screen-saver/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 04:29:41 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Wednesday One Liner]]></category>

		<guid isPermaLink="false">http://automac.wordpress.com/2007/06/13/wednesday-one-liner-screen-saver/</guid>
		<description><![CDATA[Activate your screen saver from a shell script via osascript:

osascript -e &#8216;tell application &#8220;ScreenSaverEngine&#8221; to activate&#8217;


Alternatively, if you want to quit the screen saver:

osascript -e &#8216;tell application &#8220;ScreenSaverEngine&#8221; to quit&#8217;


       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=8&subd=automac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Activate your screen saver from a shell script via osascript:</p>
<p><PRE style="background:#ECECEC;line-height:5pt;font-size:10pt;"><br />
<CODE style="color:#3371A3;line-height:5pt;font-size:10pt;">osascript -e &#8216;tell application &#8220;ScreenSaverEngine&#8221; to activate&#8217;<br />
</CODE><br />
</PRE></p>
<p>Alternatively, if you want to quit the screen saver:<br />
<PRE style="background:#ECECEC;line-height:5pt;font-size:10pt;"><br />
<CODE style="color:#3371A3;line-height:5pt;font-size:10pt;">osascript -e &#8216;tell application &#8220;ScreenSaverEngine&#8221; to quit&#8217;<br />
</CODE><br />
</PRE></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/automac.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/automac.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/automac.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/automac.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/automac.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/automac.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/automac.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/automac.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/automac.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/automac.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/automac.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/automac.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=8&subd=automac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://automac.wordpress.com/2007/06/13/wednesday-one-liner-screen-saver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/340e0f6181db7ae2e680f071a6bb6fa3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Dave</media:title>
		</media:content>
	</item>
		<item>
		<title>Safari Snippet</title>
		<link>http://automac.wordpress.com/2007/06/12/safari-snippet/</link>
		<comments>http://automac.wordpress.com/2007/06/12/safari-snippet/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 03:14:38 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://automac.wordpress.com/2007/06/12/safari-snippet/</guid>
		<description><![CDATA[Using the code below, you can open a new Safari window for a given url.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=6&subd=automac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Using the code below, you can open a new Safari window for a given url (www.google.com).</p>
<p><PRE style="background:#ECECEC;line-height:5pt;font-size:10pt;"><br />
<CODE style="color:#3371A3;line-height:5pt;font-size:10pt;">tell application &quot;Safari&quot;<br />
    make new document at beginning of documents<br />
    set URL of document 1 to &quot;http://www.google.com&quot;<br />
end tell<br />
</CODE><br />
</PRE></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/automac.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/automac.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/automac.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/automac.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/automac.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/automac.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/automac.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/automac.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/automac.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/automac.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/automac.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/automac.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=6&subd=automac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://automac.wordpress.com/2007/06/12/safari-snippet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/340e0f6181db7ae2e680f071a6bb6fa3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Dave</media:title>
		</media:content>
	</item>
		<item>
		<title>Vienna Article Filtering</title>
		<link>http://automac.wordpress.com/2007/06/11/vienna-article-filtering/</link>
		<comments>http://automac.wordpress.com/2007/06/11/vienna-article-filtering/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 02:48:02 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Applescript]]></category>
		<category><![CDATA[Vienna]]></category>

		<guid isPermaLink="false">http://automac.wordpress.com/2007/06/11/vienna-article-filtering/</guid>
		<description><![CDATA[There are a variety of methods to assign key combinations to various application and desktop functions, but my preferred method is Quicksilver triggers.  Download this applescript and assign it a trigger, and you will then be able to use a key combo to cycle thru the 4 filter modes.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=5&subd=automac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.opencommunity.co.uk/vienna2.php" title="Vienna">Vienna</a> is an excellent rss reader, but it&#8217;s not perfect.  One of my biggest complaints is it&#8217;s lack of a hot key to toggle the display filtering of the articles.  There are a variety of methods to assign key combinations to various application and desktop functions, but my preferred method is <a href="http://quicksilver.blacktree.com/" title="Quicksilver">Quicksilver</a> triggers. </p>
<p>Assign this applescript to a trigger, and you will then be able to use a key combo to cycle thru the 4 filter modes: All Articles, Unread Articles, Last Refresh, and Today.  The script cycles thru the 4 modes in order.<br />
<PRE style="background:#ECECEC;line-height:5pt;font-size:10pt;"><br />
<CODE style="color:#3371A3;line-height:5pt;font-size:10pt;"> tell application &quot;Vienna&quot;<br />
    set x to (get filter by)<br />
    &#8212; set to Unread Articles, if showing All<br />
    if (x = 0) then<br />
        set filter by to 1<br />
    &#8212; set to Last Refresh, if showing Unread Articles<br />
    else if (x = 1) then<br />
        set filter by to 2<br />
    &#8212; set to Today, if showing Last Refresh<br />
    else if (x = 2) then<br />
        set filter by to 3<br />
    &#8212; set to All Articles if showing Today<br />
    else if (x = 3) then<br />
        set filter by to 0<br />
    end if<br />
end tell</CODE><br />
</PRE></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/automac.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/automac.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/automac.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/automac.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/automac.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/automac.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/automac.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/automac.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/automac.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/automac.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/automac.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/automac.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=automac.wordpress.com&blog=1166712&post=5&subd=automac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://automac.wordpress.com/2007/06/11/vienna-article-filtering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/340e0f6181db7ae2e680f071a6bb6fa3?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Dave</media:title>
		</media:content>
	</item>
	</channel>
</rss>