• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iCal Alarms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iCal Alarms


  • Subject: Re: iCal Alarms
  • From: Cocoa Developer <email@hidden>
  • Date: Tue, 21 Dec 2004 23:04:08 +0200

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@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
  • Follow-Ups:
    • Re: iCal Alarms
      • From: Phil <email@hidden>
References: 
 >Re: iCal Alarms (From: Kevin Patfield <email@hidden>)
 >Re: iCal Alarms (From: Phil <email@hidden>)

  • Prev by Date: Re: @distinctUnionOfObjects changes the order of objects?
  • Next by Date: Re: NSFilePromisePboardType
  • Previous by thread: Re: iCal Alarms
  • Next by thread: Re: iCal Alarms
  • Index(es):
    • Date
    • Thread