<?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>Jan Varwig &#187; adium</title>
	<atom:link href="http://jan.varwig.org/archive/tag/adium/feed" rel="self" type="application/rss+xml" />
	<link>http://jan.varwig.org</link>
	<description>Somewhere between Hello World and HAL9000</description>
	<lastBuildDate>Wed, 17 Mar 2010 11:12:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Wake up your display with Adium and Applescript</title>
		<link>http://jan.varwig.org/archive/wake-up-your-display-with-adium-and-applescript</link>
		<comments>http://jan.varwig.org/archive/wake-up-your-display-with-adium-and-applescript#comments</comments>
		<pubDate>Wed, 18 Jun 2008 21:17:59 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adium]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[mac os x]]></category>

		<guid isPermaLink="false">http://jan.varwig.org/?p=85</guid>
		<description><![CDATA[I had a problem with Adium: After 3 minutes of inactivity, my monitor goes to sleep. With the laptops volume turned low I would not notice any incoming messages whenever I was playing a game or anything that made some level of noise. Back when I used windows, Miranda woke up my display when it [...]]]></description>
			<content:encoded><![CDATA[<p>I had a problem with Adium: After 3 minutes of inactivity, my monitor goes to sleep. With the laptops volume turned low I would not notice any incoming messages whenever I was playing a game or anything that made some level of noise.</p>

<p>Back when I used windows, Miranda woke up my display when it received a message. That was an option I missed from Adium. The solution to this was pretty simple though. Adium provides the possibility to execute an Applescript on events. So I wrote a litte script to wake up my display and bound that to the &#8220;Message received (initial)&#8221; event. The script? Not very impressive:</p>

<div class="dean_ch" style="white-space: wrap;"><span class="kw1">tell</span> application <span class="st0">&quot;System Events&quot;</span> <span class="kw1">to</span> key code <span class="nu0">59</span></div>

<p>But it works! :)</p>

<p>(Key Code 59 is the CTRL key, so you don&#8217;t accidentally trigger anything by firing it)</p>
]]></content:encoded>
			<wfw:commentRss>http://jan.varwig.org/archive/wake-up-your-display-with-adium-and-applescript/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
