Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

KPForMacRum

macrumors newbie
Original poster
Sep 30, 2008
7
0
I have three calendars in iCal (Home, Work, and Games). I want to know how can I activate iCal and select "Games" automatically via applescript. I know the following script activates iCal, but how can I select "Games" calendar automatically? I do NOT want any intervening GUI.

tell application "iCal"
activate
end tell

Any help will be greatly appreciated. By the way, I tried to record the script to do this in AppleScript Studio, but it will not record anything!

Thank you,
Chris
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.