• 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: Trouble refreshing iCal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble refreshing iCal


  • Subject: Re: Trouble refreshing iCal
  • From: Ben Kazez <email@hidden>
  • Date: Mon, 30 Jan 2006 08:59:51 -0600

Hi Aram,

On Sun, 29 Jan 2006 23:53:46 -0500, Aram Kudurshian wrote:

You're assumption is entirely correct.  My whole goal is to allow
editing of To Do items without having to have iCal open.

I looked into the solution you've suggested but a side effect now is
that even if my applescript asks iCal to save the file to disk, it
won't immediately.  This means that my program can't re-parse the
calendar and show the changes immediately.

I just wish there was a way to have iCal reload itself, without
having to have it relaunched.

As far as I know, there is currently no way to tell iCal to refresh itself. There's also no way (short of quitting iCal) to tell iCal to write changes to the .ics files on disk.


If you don't need to support pre-10.4 users, I would highly recommend using Sync Services to change the to-do items:

<http://developer.apple.com/documentation/Cocoa/Conceptual/SyncServices>

You register your application with Sync Services as being "interested" in to-do items, and then Sync Services provides methods of fetching, changing, and creating to dos, all without needing to parse or write the raw iCalendar file format.

However, it occurs to me that even then, iCal might not sync with Sync Services immediately. Has someone else synced iCal events or to dos?

Ben
--
Ben Kazez
http://www.benkazez.com

_______________________________________________
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


  • Prev by Date: Re: Warning with NEXT_ROOT environment and libgcc.a
  • Next by Date: Re: reference to own window?
  • Previous by thread: Re: Trouble refreshing iCal
  • Next by thread: SelectText:self
  • Index(es):
    • Date
    • Thread