Yosemite Calendar Scripting Problems

Originally posted to another forum in error:

Using AppleScript Editor (Mavericks) and Script editor (Yosemite) this script returns two different results:

tell application "Calendar"
   set myCal to make new calendar with properties {name:"Test"}
   return name of myCal
end tell

Mavericks returns “Test” as I believe it should. Yosemite returns “Mail To Do” which is the first calendar by index. I’m trying to update my AppleScriptObjC code, but experimenting in Script Editor.

Any ideas? TIA

John

Hi,

same here. Seems to be a bug. File it!

Thanks for confirming. Will file the bug with Apple.

john