<?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>Martin Ström &#187; ichat</title>
	<atom:link href="http://my-domain.se/tag/ichat/feed/" rel="self" type="application/rss+xml" />
	<link>http://my-domain.se</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:02:46 +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>Automatically iChat complete Transmission downloads</title>
		<link>http://my-domain.se/automatically-ichat-complete-transmission-downloads/</link>
		<comments>http://my-domain.se/automatically-ichat-complete-transmission-downloads/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 23:23:21 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[folder actions]]></category>
		<category><![CDATA[ichat]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[transmission]]></category>

		<guid isPermaLink="false">http://my-domain.se/?p=310</guid>
		<description><![CDATA[Lets say you have an extra computer at home which can be used to download Linux distros using Transmission on Mac OS X. Here&#8217;s how you can let the computer iChat you when a download is complete. Sign up for a new iChat screen name and add your normal user as a buddy. In Transmission, [...]]]></description>
			<content:encoded><![CDATA[<p>Lets say you have an extra computer at home which can be used to download Linux distros using Transmission on Mac OS X. Here&#8217;s how you can let the computer iChat you when a download is complete.</p>

<ol>
<li>Sign up for a new iChat screen name and add your normal user as a buddy.</li>
<li>In Transmission, open Preferences 
→ Transfers and set the folder for incomplete files to something different than the &#8220;Default download location&#8221;. </li>
<li>Start Automator (in /Applications) and create a new workflow</li>
<li>Add the &#8220;Run AppleScript&#8221; action and paste in this code (replace YOURBUDDY with the scree name of your own iChat account:</li>
<li>Save as a plugin and choose &#8220;Folder action&#8221; in the &#8220;Save As&#8221; dialog. Select the folder you setup Transmission to use as the &#8220;Default download location&#8221;. <script src="http://gist.github.com/323285.js?file=iChat+Added+Files.applescript"></script></li>
<li>Done! The script should now send you an iChat message whenever a new file is added to the folder.</li>
</ol>

<p>I created this setup a pretty long time ago and still use it, but these days together with a <a href="http://clickontyler.com/blog/2009/01/forward-your-growl-notifications-to-twitter/">Growl notification plugin</a> that also twitters me when the download is complete.</p>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/automatically-ichat-complete-transmission-downloads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colhour as iChat picture 2.0</title>
		<link>http://my-domain.se/colhour-as-ichat-picture-20/</link>
		<comments>http://my-domain.se/colhour-as-ichat-picture-20/#comments</comments>
		<pubDate>Fri, 28 Oct 2005 11:00:09 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[colhour]]></category>
		<category><![CDATA[ichat]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/wordpress/?p=18</guid>
		<description><![CDATA[This is the second version of the Colhour as iChat picture I posted the other day. The biggest improvment is that it will show both the hours and the minutes. There&#8217;re two versions of the script. The first one uses a Ruby script together with RMagick to create every image on the fly with the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://my-domain.se/wordpress/wp-content/uploads/colhourichat2.png" alt="" class="centered" /></p>

<p>This is the second version of the <a href="http://my-domain.se/ichat-picture-with-colhour/">Colhour as iChat picture</a> I posted the other day. The biggest improvment is that it will show both the hours and the minutes.</p>

<p>There&#8217;re two versions of the script. The first one uses a <a href="http://www.ruby-lang.org">Ruby</a> script together with <a href="http://rmagick.rubyforge.org/">RMagick</a> to create every image on the fly with the current time. But since it requires some installation of Ruby gems and other libraries, I decided to make a version with all  1440 images pregenerated (created with a small Ruby script of course) so you wont need to install the other libraries. The AppleScript still uses some Ruby, but it&#8217;s included in OS X, and should (at least) work on a basic OS X 10.4 Tiger installation. Let me know otherwise.</p>

<p>Instructions on how to set up a cron job to run the script every minute is in the <a href="http://my-domain.se/ichat-picture-with-colhour/">previous post</a>. Both the on-the-fly generated version (<code>update-gen.scpt</code>) and the pregenerated version (<code>update-pregen.scpt</code>) are included in the zip file.</p>

<p><a href="http://my-domain.se/wordpress/wp-content/uploads/colhour-ichat2.zip"><img src='/wordpress/wp-content/uploads/archive.png' alt="" class="centered" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/colhour-as-ichat-picture-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iChat picture with Colhour</title>
		<link>http://my-domain.se/ichat-picture-with-colhour/</link>
		<comments>http://my-domain.se/ichat-picture-with-colhour/#comments</comments>
		<pubDate>Mon, 24 Oct 2005 20:14:43 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[colhour]]></category>
		<category><![CDATA[ichat]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/wordpress/?p=17</guid>
		<description><![CDATA[This is a small AppleScript to update your iChat picture from the Colhour system that I have created with Peter. From the beginning I wanted to update it every second, but since it used 60% – 80% CPU, I decided to go with an update rate of once a minute instead. So you&#8217;ll only be [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://my-domain.se/wordpress/wp-content/uploads/colhourichatsshot_01.png" alt="" class="centered" /></p>

<p>This is a small <a href="http://www.apple.com/macosx/features/applescript/">AppleScript</a> to update your <a href="http://www.apple.com/macosx/features/ichat/">iChat</a> picture from the <a href="http://burnfield.com/peter/work/colhour">Colhour</a> system that I have created with <a href="http://burnfield.com/peter/work/information/">Peter</a>. From the beginning I wanted to update it every second, but since it used 60% – 80% CPU, I decided to go with an update rate of once a  minute instead. So you&#8217;ll only be able to se the current minute from the iChat picture.</p>

<p>To install:
<a href="http://burnfield.com/martin/wordpress/wp-content/uploads/colhour-ichat.zip">Download</a> and extract somewhere on your hard drive. Edit your <a href="http://en.wikipedia.org/wiki/Crontab">crontab</a> file manually or with an app like <a href="http://macupdate.com/info.php/id/7486">Cronnix</a> to run the script every minute. It should look something like this:</p>

<pre><code>*/1 *   *   *   *   YourUserName    osascript ~/path/to/update.scpt
</code></pre>

<p>I suppose I should do this in the &#8220;correct OS X Tiger&#8221; way by using <code>launchd</code> instead, but that&#8217;s for next time. As well as update it to show the the full date in different squares (without seconds due to CPU usage) like <a href="http://harald.net">the one on harald.net</a></p>

<p>Source included.</p>

<p><a href="http://my-domain.se/wordpress/wp-content/uploads/colhour-ichat.zip"><img src='/wordpress/wp-content/uploads/archive.png' alt="" class="centered" /></a></p>

<h3>Version 0.2</h3>

<p>Added a check in the script to see if iChat is running or not, so it wouldn&#8217;t launch iChat every minute.</p>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/ichat-picture-with-colhour/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

