View Single Post
Quote:
Originally Posted by Craig View Post
The script did not successfully create an iCal calendar for me where one did not exist. When run from Script Editor, I get "The variable targetCal is not defined."

But if I created the calendar in iCal before running the script, it worked as expected.

10.4.11
Craig,

What happens if you run this snippet in script editor?
Code:
tell application "iCal"
	set targetCal to make new calendar with properties {title:"testing"}
end tell
-P