Re: iCal alarm scripts
Re: iCal alarm scripts
- Subject: Re: iCal alarm scripts
- From: Josh Tishhouse <email@hidden>
- Date: Mon, 11 Jan 2010 23:47:29 -0500
Paul,
On Jan 11, 2010, at 12:33 AM, Paul Berkowitz wrote:
> On 1/10/10 8:11 PM, "Josh Tishhouse" <email@hidden> wrote:
>
>> So, there's no real way to "Automagically" get the data from the iCal event
>> that launched your script, but here's how I do it:
>>
>> set myCalendar to "calendar name"
>> tell application "iCal"
>> activate
>
> No need to activate. It can go on in the background if you prefer.
>
>> set theEvent to the last event of calendar myCalendar
>
> The last event will be the last one *created* in that calendar, which is
> very much *not* necessarily the one that just sent the alarm. I don't think
> this will help at all. Not to mention - how do you even know which is the
> right calendar? You'd need to check all of them.
So this is worthless then?
http://developer.apple.com/mac/articles/server/schedulingical.html
-Josh
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden