• 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: John M <email@hidden>
  • Date: Wed, 19 Oct 2005 18:58:26 +0100

Hi Bob,

The calendar name is a property of the calendar. You need to set it as a property.

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


Best wishes

John M


On 19 Oct 2005, at 16:17, email@hidden wrote:


From: Robert Poland <email@hidden>
Subject: New iCal calendar
To: AppleScript <email@hidden>
Message-ID: <a06230900bf7c12f6523a@[192.168.0.5]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Hi,

According to the iCal dictionary this should work, or am I doing
something stupid again?

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

Tia,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/



_______________________________________________ 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
  • Prev by Date: Re: Days and hours
  • Next by Date: Re: Physical size of the trash
  • Previous by thread: Re: New iCal calendar
  • Next by thread: copying to and from clipboard problem
  • Index(es):
    • Date
    • Thread