FROM : Cocoa Developer
DATE : Tue Dec 21 22:04:08 2004
Is there something special by restarting iCalAlarmShceduler? I edit
.ics file ,restart iCalAlarmShceduler and... nothing :/
> 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_removed>> 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
DATE : Tue Dec 21 22:04:08 2004
Is there something special by restarting iCalAlarmShceduler? I edit
.ics file ,restart iCalAlarmShceduler and... nothing :/
> 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_removed>> 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
| Related mails | Author | Date |
|---|---|---|
| Cocoa Developer | Dec 20, 23:24 | |
| Kevin Patfield | Dec 21, 01:32 | |
| Phil | Dec 21, 03:53 | |
| Cocoa Developer | Dec 21, 22:04 | |
| Phil | Dec 23, 05:38 | |
| Finlay Dobbie | Dec 23, 19:06 |






Cocoa mail archive

