Re: Make iCal Reload Via AppleScript
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.