<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>subtleGradient comments on Growl Notifications for iCal (Tiger only)</title>
    <link>http://subtlegradient.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>subtleGradient comments</description>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Thomas Aylott</title>
      <description>&lt;p&gt;You can modify that in the Growl Pref Pane. And just make every single notification from the script sticky.&lt;/p&gt;</description>
      <pubDate>Mon,  9 Oct 2006 20:38:09 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-235</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-235</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Matthias Kaufmann</title>
      <description>&lt;p&gt;Thanks a lot, this little hack is great! I have one question though: The notifications I get are not sticky. How could I get that? Best regards.&lt;/p&gt;</description>
      <pubDate>Sun,  1 Oct 2006 14:50:42 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-234</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-234</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Thomas Aylott</title>
      <description>&lt;p&gt;You have to add &amp;#8220;Growl&amp;#8221; as an email on your ME card in the address book.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s a hack, but it&amp;#8217;s the only way i know of adding anything to that list.&lt;/p&gt;</description>
      <pubDate>Fri, 22 Sep 2006 18:05:07 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-232</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-232</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Snookie</title>
      <description>&lt;p&gt;Sorry for the trouble.  After reading both tutorials, I&amp;#8217;m confused how you can still send emails and growl notifications.  In my drop down list, I only have my email address.  It looks like your script will send a growl notification if I select Growl from the drop down.  Is there a way to add Growl to the drop down list or am I missing something.  Thanks for the script, I&amp;#8217;m sure it&amp;#8217;ll work great once I figure it out.&lt;/p&gt;</description>
      <pubDate>Fri, 22 Sep 2006 01:29:05 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-231</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-231</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Duchovka</title>
      <description>&lt;p&gt;Thank you very much. I like it.&lt;/p&gt;</description>
      <pubDate>Mon, 18 Sep 2006 07:16:11 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-230</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-230</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Oscar</title>
      <description>&lt;p&gt;Thanks a lot! Works great!&lt;/p&gt;</description>
      <pubDate>Thu, 24 Aug 2006 05:21:31 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-224</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-224</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Thomas Aylott</title>
      <description>&lt;p&gt;Mail.scpt is the compiled version.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m not sure why, but the original article told me to compile it as run only. I&amp;#8217;m sure he had a good reason.&lt;/p&gt;


	&lt;p&gt;I put the other one in there so you&amp;#8217;d have the source.&lt;/p&gt;</description>
      <pubDate>Wed, 23 Aug 2006 10:02:05 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-223</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-223</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by gproffit</title>
      <description>&lt;p&gt;I&amp;#8217;ve done something wrong, what is the name of the compiled applescript supposed to be? &amp;#8220;Mail.scpt&amp;#8221; or &amp;#8220;Mail.applescript&amp;#8221;?&lt;/p&gt;</description>
      <pubDate>Thu, 10 Aug 2006 14:02:48 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-217</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-217</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Maverick808</title>
      <description>&lt;p&gt;This is an awesome script.  Much thanks for your work on it.&lt;/p&gt;</description>
      <pubDate>Mon, 31 Jul 2006 07:00:20 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-216</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-216</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Flo</title>
      <description>&lt;p&gt;Thanks, I never found that setting. There&amp;#8217;s always something new to learn on the Mac ;)&lt;/p&gt;</description>
      <pubDate>Sat, 29 Jul 2006 22:48:16 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-215</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-215</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Thomas Aylott</title>
      <description>&lt;p&gt;The setting is in the Address Book. The vCard pane. Check &lt;em&gt;&amp;#8217;Enable private &amp;#8220;Me&amp;#8221; card&amp;#8217;&lt;/em&gt;.&lt;/p&gt;


	&lt;p&gt;Then you&amp;#8217;ll get a checkbox next to each entry in your Me card.&lt;/p&gt;</description>
      <pubDate>Sat, 29 Jul 2006 17:27:49 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-214</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-214</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)": comment by Flo</title>
      <description>&lt;p&gt;Awesome script. It even sets the Growl notification to sticky &amp;#8211; perfect! :)&lt;/p&gt;


	&lt;p&gt;One question:
&amp;#8220;Add the email address ”Growl” to your personal Address Book entry. (Mark it as secret if you have that feature enabled.)&amp;#8221;&lt;/p&gt;


	&lt;p&gt;How can I mark an eMail address as secret? Is this feature only available when syncing to .Mac?&lt;/p&gt;</description>
      <pubDate>Sat, 29 Jul 2006 00:04:22 PDT</pubDate>
      <guid>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-213</guid>
      <link>http://subtlegradient.com/articles/2006/07/21/growl-notifications-for-ical-how-to#comment-213</link>
    </item>
    <item>
      <title>"Growl Notifications for iCal (Tiger only)" by admin</title>
      <description>&lt;h2&gt;This only works in Mac &lt;span class="caps"&gt;OS X &lt;/span&gt;Tiger 10.4&lt;/h2&gt;


	&lt;p&gt;&lt;ins&gt;I&amp;#8217;m still working on an updated version for Leopard.&lt;/ins&gt;&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://images.apple.com/macosx/features/ical/images/indextop20050412.jpg" class="zipicon" style="float:right; padding: 2em; padding-right:0" /&gt;&lt;/p&gt;


	&lt;p&gt;I love iCal, but I really hate the &lt;a href="http://images.apple.com/lae/ical/images/index_alarm12312002.jpg" title="This thing has it's place
but not in my face"&gt;giant reminder panel&lt;/a&gt; stealing focus and getting in the way. &lt;em&gt;Ewww.&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;I love &lt;a href="http://growl.info/"&gt;Growl&lt;/a&gt;. There was an obvious need for a way to do iCal Growl notifications.&lt;/p&gt;


	&lt;p&gt;iCal has a nice feature where you can run an applescript using the &lt;em&gt;Open File&amp;#8230;&lt;/em&gt; feature in the alarm thing. The problem with this is that it doesn&amp;#8217;t send any applescript variables to the script. So you would have to either do a generic alert for every reminder or have a separate script for each reminder. This is not hip, nor &lt;acronym title="Don&amp;#8217;t Repeat Yourself! Seriously, don&amp;#8217;t do it. Think of the Children!"&gt;DRY&lt;/acronym&gt;.&lt;/p&gt;


	&lt;p&gt;I went searching for a solution to this and came across the article &lt;a href="http://origa.me.uk/blog/?p=6"&gt;iCal and Growl @ Origa.me.uk&lt;/a&gt; where he shows you how to hack the internal applescript file that handles sending an Email on an alarm. This is totally awesome! You get access to all of the variables and can do the Growl. The only problem with his method is that it removes your ability to ever send another Email Alarm again.&lt;/p&gt;


	&lt;p&gt;I took his idea and added a simple &lt;code&gt;if&lt;/code&gt; filter to the applescript. It works by checking for the email address &amp;#8220;Growl&amp;#8221;. If it sees that address then it does a Growl thinggy, otherwise it does the email like normal.&lt;/p&gt;


	&lt;h3&gt;Download the Scripts&lt;/h3&gt;


	&lt;p&gt;&lt;a href="http://textmate.svn.subtlegradient.com/AppleScript/Applications/iCal/Growl%20iCal%20Alarms.dmg"&gt;&lt;img src="http://subtlegradient.com/stuff/zipicon.gif" class="zipicon" /&gt; iCal Mail Script (with Growl Support)&lt;/a&gt;&lt;/p&gt;


	&lt;h3&gt;How to Install &amp;#38; Use&lt;/h3&gt;


	&lt;ol&gt;
	&lt;li&gt;&lt;strong&gt;Add the email address &lt;em&gt;&amp;#8221;Growl&amp;#8221;&lt;/em&gt;&lt;/strong&gt; &lt;br /&gt;
to your personal Address Book entry.
	&lt;ul&gt;
	&lt;li&gt;&lt;em&gt;(Mark it as secret if you have that feature enabled.)&lt;/em&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;Copy &lt;code&gt;Mail.scpt&lt;/code&gt; into the iCal resources.&lt;/strong&gt;
	&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;/Applications/iCal.app/Contents/Resources/&lt;/code&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;Copy &lt;code&gt;Mail.scpt&lt;/code&gt; into the iCalHelper resources.&lt;/strong&gt;
	&lt;ul&gt;
	&lt;li&gt;&lt;code&gt;/Applications/iCal.app/Contents/Resources/iCal Helper.app/Contents/Resources/&lt;/code&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;Quit iCal&lt;/strong&gt;
	&lt;ul&gt;
	&lt;li&gt;You should &lt;strong&gt;Quit iCalAlarmScheduler&lt;/strong&gt; too, &lt;/li&gt;
		&lt;li&gt;or you can log out and back in.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;Make a new iCal Event&lt;/strong&gt;&lt;/li&gt;
		&lt;li&gt;&lt;strong&gt;Make a new Email Alarm&lt;/strong&gt; on that event
	&lt;ol&gt;
	&lt;li&gt;&lt;strong&gt;Set the email address to &amp;#8220;Growl&amp;#8221;&lt;/strong&gt;&lt;/li&gt;
	&lt;/ol&gt;&lt;/li&gt;
	&lt;/ol&gt;


	&lt;ul&gt;
	&lt;li&gt;Bask in the awesome iCal Growl Alarm goodness!&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h3&gt;Here is the actual code:&lt;/h3&gt;


&lt;pre&gt;&lt;code&gt;
on send_mail_sbr(subjectLine, messageText, myrecipient)
    if myrecipient = "Growl" then
        send_mail_sbr_GROWL(subjectLine, messageText, myrecipient)
    else
        send_mail_sbr_EMAIL(subjectLine, messageText, myrecipient)
    end if
end send_mail_sbr

on send_mail_sbr_EMAIL(subjectLine, messageText, myrecipient)
    tell application "Mail" 
        set mymail to (make new outgoing message at the beginning of outgoing messages with properties {subject:subjectLine, content:messageText})
        tell mymail to make new to recipient at beginning of to recipients with properties {address:myrecipient}
        send mymail
    end tell
end send_mail_sbr_EMAIL

on send_mail_sbr_GROWL(subjectLine, messageText, myrecipient)
    tell application "GrowlHelperApp" 
        set theName to "New Event" 
        set theAppName to "Custom iCal Notifications" 
        set the allNotificationsList to {theName}
        set the enabledNotificationsList to {theName}

        register as application theAppName ¬
            all notifications allNotificationsList ¬
            default notifications enabledNotificationsList ¬
            icon of application "iCal" 
        notify with name theName ¬
            title subjectLine ¬
            description messageText ¬
            application name theAppName ¬
            with sticky
    end tell
end send_mail_sbr_GROWL
&lt;/code&gt;&lt;/pre&gt;

</description>
      <pubDate>Fri, 21 Jul 2006 10:10:00 PDT</pubDate>
      <guid>&lt;a href="/articles/2006/07/21/growl-notifications-for-ical-how-to"&gt;Growl Notifications for iCal (Tiger only)&lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2006/07/21/growl-notifications-for-ical-how-to"&gt;Growl Notifications for iCal (Tiger only)&lt;/a&gt;</link>
    </item>
  </channel>
</rss>
