<?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: Ruby Appscript &#8211; Sweet automation</title>
	<atom:link href="http://www.hackerdude.com/2009/01/23/ruby-appscript-sweet-automation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hackerdude.com/2009/01/23/ruby-appscript-sweet-automation/</link>
	<description>Software Development Blog by David Martinez</description>
	<lastBuildDate>Mon, 03 May 2010 16:54:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Hackerdude</title>
		<link>http://www.hackerdude.com/2009/01/23/ruby-appscript-sweet-automation/comment-page-1/#comment-98314</link>
		<dc:creator>Hackerdude</dc:creator>
		<pubDate>Fri, 30 Jan 2009 19:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.hackerdude.com/2009/01/23/ruby-appscript-sweet-automation/#comment-98314</guid>
		<description>Fantastic. Worth a try. Thanks!</description>
		<content:encoded><![CDATA[<p>Fantastic. Worth a try. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: has</title>
		<link>http://www.hackerdude.com/2009/01/23/ruby-appscript-sweet-automation/comment-page-1/#comment-98313</link>
		<dc:creator>has</dc:creator>
		<pubDate>Fri, 30 Jan 2009 18:04:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.hackerdude.com/2009/01/23/ruby-appscript-sweet-automation/#comment-98313</guid>
		<description>The weird and/or interesting thing about Apple event IPC is that it&#039;s based on RPC+queries rather than OOP, allowing your first two examples to be condensed down to this:

&lt;code&gt;
require &#039;appscript&#039;
app = Appscript.app(&quot;iCal&quot;)

puts app.calendars.name.get

puts app.calendars.todos.summary.get
&lt;/code&gt;

Doesn&#039;t always work in practice (some apps are better at it than others), but pretty neat when it does.</description>
		<content:encoded><![CDATA[<p>The weird and/or interesting thing about Apple event IPC is that it&#8217;s based on RPC+queries rather than OOP, allowing your first two examples to be condensed down to this:</p>
<p><code><br />
require 'appscript'<br />
app = Appscript.app("iCal")</p>
<p>puts app.calendars.name.get</p>
<p>puts app.calendars.todos.summary.get<br />
</code></p>
<p>Doesn&#8217;t always work in practice (some apps are better at it than others), but pretty neat when it does.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
