<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating Adium Scripts (iTunes)</title>
	<atom:link href="http://www.tylerclemons.com/creating-adium-scripts-itunes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tylerclemons.com/creating-adium-scripts-itunes/</link>
	<description>tylerclemons.com</description>
	<lastBuildDate>Fri, 04 Jun 2010 12:40:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tyler</title>
		<link>http://www.tylerclemons.com/creating-adium-scripts-itunes/comment-page-1/#comment-2948</link>
		<dc:creator>Tyler</dc:creator>
		<pubDate>Fri, 04 Jun 2010 12:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://tylershome.nfshost.com/?p=41#comment-2948</guid>
		<description>Hey Emil.

Yes. It’s as follows.

In the script file, you will notice at line 34:

tell application “iTunes”
if player state is playing then

This tell us if iTunes is playing. We can add more functions for pause and stopped using another set of conditionals:

else if player state is paused then
  #code here
end if
else if player state is stopped then
  #code here
end if

It should be easy to fill in your own code at this point. Hope this helps!</description>
		<content:encoded><![CDATA[<p>Hey Emil.</p>
<p>Yes. It’s as follows.</p>
<p>In the script file, you will notice at line 34:</p>
<p>tell application “iTunes”<br />
if player state is playing then</p>
<p>This tell us if iTunes is playing. We can add more functions for pause and stopped using another set of conditionals:</p>
<p>else if player state is paused then<br />
  #code here<br />
end if<br />
else if player state is stopped then<br />
  #code here<br />
end if</p>
<p>It should be easy to fill in your own code at this point. Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil</title>
		<link>http://www.tylerclemons.com/creating-adium-scripts-itunes/comment-page-1/#comment-2944</link>
		<dc:creator>Emil</dc:creator>
		<pubDate>Thu, 03 Jun 2010 23:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://tylershome.nfshost.com/?p=41#comment-2944</guid>
		<description>Hey, sorry to write on such an old post, but I was wondering if you know how to make a script that shows the itunes if something is playing and if nothing is playing it shows your custom status? Is that possible?</description>
		<content:encoded><![CDATA[<p>Hey, sorry to write on such an old post, but I was wondering if you know how to make a script that shows the itunes if something is playing and if nothing is playing it shows your custom status? Is that possible?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
