• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New iCal calendar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New iCal calendar


  • Subject: Re: New iCal calendar
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 19 Oct 2005 09:04:24 -0700

On Oct 19, 2005, at 8:15 AM, Robert Poland wrote:

set rightcalendar to "New Calendar"
tell application "iCal"
if rightcalendar = "New Calendar" then
make calendar with name rightcalendar -- new calendar named "Untitled"
end if
end tell

I can't get that to compile.

This works, however:

set rightcalendar to "New Calendar"
tell application "iCal"
    if rightcalendar = "New Calendar" then
        make calendar with properties {name:rightcalendar}
    end if
end tell


--
I've noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS.
-- Larry DeLuca


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >New iCal calendar (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Slow script with long lists
  • Next by Date: Re: Days and hours
  • Previous by thread: New iCal calendar
  • Next by thread: Re: New iCal calendar
  • Index(es):
    • Date
    • Thread