Re: New iCal calendar
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