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

Re: Make iCal Reload Via AppleScript


  • Subject: Re: Make iCal Reload Via AppleScript
  • From: KLW <email@hidden>
  • Date: Wed, 07 Jan 2004 10:47:44 -0500

Jean-Olivier Lancttt-D. wrote:
What am I doing wrong here?
and why does adding try/end try resolves the errors?
The try/end try syntax is an error trapping mechanism. It's a way to wrap commands that may fail so that the script does not exit unnecessarily. If you want to see the error, try this:
try
commandthatdoesn'twork
on error errorMsg
display dialog errorMsg
end try

When you get your error message, chech the macscripter.net Web site forums for similar errors. Or search their forums for reloadCals.

K
_______________________________________________
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.

References: 
 >Make iCal Reload Via AppleScript (From: "Jean-Olivier Lanctôt-D." <email@hidden>)

  • Prev by Date: Re: CopyWithZone required ?
  • Next by Date: Re: NSToolbar Problem
  • Previous by thread: Re: Make iCal Reload Via AppleScript
  • Next by thread: NSOpenPanel weirdness
  • Index(es):
    • Date
    • Thread