Re: iCal Alarms
Re: iCal Alarms
- Subject: Re: iCal Alarms
- From: Phil <email@hidden>
- Date: Tue, 21 Dec 2004 15:53:38 +1300
What about simply restarting (either kill and re-launch, or HUP) the
iCalAlarmShceduler.app (in iCal.app/Contents/Resources/)?
-Phil
On Mon, 20 Dec 2004 17:32:13 -0700, Kevin Patfield
<email@hidden> wrote:
>
> On Dec 21, 2004, at 00:24:14 +0200, Cocoa Developer wrote:
>
> > Subject: iCal alarms
> > I am trying to create a program, which should use iCal calendars for
> > shedulling alarms. My question: is there any way to add event into
> > calendar by editing calendar file, that iCal launching would not be
> > required. Because I have tried to add event with alarm manual, but
> > until iCal is launched, iCal Helper doesn't show my event alarm :(.
>
> It's quite easy to just write into a .ics file, the trick is getting
> iCal to notice. The following works for me:
>
> 1) determine if iCal is running using NSWorkspace
> 2) if it is, send it a "reload calendars" message using Applescript
> 3) if not, tell it to launch and then quit it using Applescript
>
> Kevin Patfield, Phoenix, Arizona
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden