• 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
Make iCal Reload Via AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make iCal Reload Via AppleScript


  • Subject: Make iCal Reload Via AppleScript
  • From: "Jean-Olivier Lanctôt-D." <email@hidden>
  • Date: Tue, 6 Jan 2004 18:19:29 -0500

Hi all,

I'm trying to make iCal.app reload its cals (when it's running)

So I look at the available iCal commands and I see "reloadCals"

I did some basic AppleScript stuff back when I was a kid... the only thing I could remember was

something like

tell application "iCal"
reloadCal
end tell

but the script editor tells me "The variable reloadCals is not defined."

So I go like

try
tell application "iCal"
reloadCals
end tell
end try

and it runs w/o errors

the problem is that it does NOT reload the cals :\

What am I doing wrong here?

and why does adding try/end try resolves the errors?

Thanks!

--Jean-Olivier Lancttt-D.
http://www.clichesw.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Make iCal Reload Via AppleScript
      • From: KLW <email@hidden>
    • Re: Make iCal Reload Via AppleScript
      • From: Don Arbow <email@hidden>
    • Re: Make iCal Reload Via AppleScript
      • From: Chris Garaffa <email@hidden>
  • Prev by Date: macworld
  • Next by Date: Re: Manual Binding in NSTableColumn
  • Previous by thread: macworld
  • Next by thread: Re: Make iCal Reload Via AppleScript
  • Index(es):
    • Date
    • Thread