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