<?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>Tentatio &#187; productivity</title>
	<atom:link href="http://www.tentatio.com/tag/productivity/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tentatio.com</link>
	<description>struggle, spirituality, absurdity</description>
	<lastBuildDate>Tue, 17 Jan 2012 04:41:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>iCal and Google Calendar Zen</title>
		<link>http://www.tentatio.com/ical-and-google-calendar-zen</link>
		<comments>http://www.tentatio.com/ical-and-google-calendar-zen#comments</comments>
		<pubDate>Thu, 15 Jan 2009 18:05:51 +0000</pubDate>
		<dc:creator>E. Walter Robinson</dc:creator>
				<category><![CDATA[Amusing]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[gcal]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[organization]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[scheduling]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://www.tentatio.com/?p=84</guid>
		<description><![CDATA[For OS X: This will allow you to add events by typing a few words and hitting enter. Then you get to watch as the new event(s) are magically synced to iCal. What you need: gcalcli (and prereqs) -  http://code.google.com/p/gcalcli/ (don&#8217;t worry. installing these aren&#8217;t as difficult as it seems) gmail/gcal account ical Script Editor (comes [...]]]></description>
			<content:encoded><![CDATA[<p>For OS X: This will allow you to add events by typing a few words and hitting enter. Then you get to watch as the new event(s) are magically synced to iCal.</p>
<p>What you need:</p>
<ul>
<li>gcalcli (and prereqs) -  <a href="http://code.google.com/p/gcalcli/" target="_blank">http://code.google.com/p/gcalcli/</a> (don&#8217;t worry. installing these aren&#8217;t as difficult as it seems)</li>
<li>gmail/gcal account</li>
<li>ical</li>
<li>Script Editor (comes with your Mac)</li>
<li>Calaboration &#8211; <a href="http://code.google.com/p/calaboration/" target="_blank">http://code.google.com/p/calaboration/</a></li>
</ul>
<p>Install gcalcli using the instructions on the site &#8211; when you get it working, make sure you remember where you put the actual file &#8220;gcalcli.&#8221;</p>
<p>Now you need to get your google calendar and iCal synced up. Install Calaboration and run it after you have a good calendar set up. This will then configure iCal to work and sync with gCal. It should go fairly easily.</p>
<p>Here&#8217;s the juicy part. Google Calendar has a slick &#8220;quick add&#8221; feature that will parse through and interpret text that you enter. For example, if I type &#8220;meeting with boss on tues at 8am&#8221; it will set up an event called &#8220;meeting with boss&#8221; to occur at 8am the following Tues. In this case, it would be the 20th of January. You can also add things like &#8220;from 8am to 2pm,&#8221; and when you use the word &#8220;at,&#8221; it will even set up the location. Very cool stuff.</p>
<p>So we are going to create a very small Applescript to send such a bit of text to gcal with ease. Here&#8217;s the code:</p>
<blockquote><p><code><br />
<span><strong>on</strong></span><span> </span>run</code></p>
<p><code><strong>   repeat</strong></code></p>
<p><code><span>      display dialog</span><span> </span>"Enter event information:"<span> </span><span>default answer</span><span> </span>""</code></p>
<p><code><span><strong>      set</strong></span><span> </span><span>eventInfo</span><span> </span><span><strong>to</strong></span><span> </span>text returned<span> </span><span><strong>of</strong></span><span> </span>result</p>
<p><span>      do shell script</span><span> </span>"/usr/bin/gcalcli --user YOURUSERNAME --pw YOURPASSWORD quick \"" <span>eventInfo</span><span> </span>&amp;<span> </span>"\""</p>
<p><strong>   end</strong><span> </span><strong>repeat</strong></p>
<p></code> </p>
<p><code><strong>end</strong><span> </span><span>run</span></code></p></blockquote>
<p>You can test the script by hitting the &#8220;run&#8221; button and checking your google calendar.</p>
<p>The only important part here is that the stuff after &#8220;do shell script&#8221; has to be one line, though it is OK if it wraps. the /usr/bin part before &#8220;gcalcli&#8221; might change depending on where you installed it, and you will need to enter your username and password (no quotes). Fire up GCal when you test the script, and you should know if it is working. Then open iCal, and voila! It is stored locally too!</p>
<p>Once the script is working correctly, you can save it as an application in the &#8220;Save&#8221; dialog, and then launch it like any other application. I like to use spotlight to launch it, for quicker access.</p>
<p>If you have a bunch of events to add with chunks of the same text (like an event title that is the same but with changing dates), you should be able to just paste it into the script without a problem. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tentatio.com/ical-and-google-calendar-zen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

