Originally posted by bewebste:
Well, looking at the pattern of previous iApps, I wouldn't get my hopes up. iTunes wasn't scriptable until version 2.0, iPhoto isn't scriptable, iDVD just became scriptable with the latest update, and iMovie isn't scriptable. iSync might be simple enough to have scriptability in the first version. iCal would have a pretty complicated data model and be harder to make scriptable. My prediction is that iCal 1.0 will not be scriptable and then they will add that for version 2.0.
The Macworld New York Build is Scriptable:
iCal suite: WhiteRabbit specific classes.
GetURL: Open a webcal: or http: for a remote calendar
GetURL reference -- the object for the command
reschedule: Reschedules an event to a different start date
reschedule reference -- the object for the command
to date -- the event new start date
create calendar: Creates a new calendar
create calendar reference -- the object for the command
[with name Unicode text] -- the calendar new name
Class calendar: This class represents a calendar
Plural form:
calendars
Elements:
event by numeric index, before/after another element, as a range of elements, satisfying a test
todo by numeric index, before/after another element, as a range of elements, satisfying a test
Properties:
<Inheritance> item [r/o] -- All of the properties of the superclass.
writable boolean [r/o] -- If this calendar is writable
description Unicode text [r/o] -- This is the calendar description.
color Unicode text [r/o] -- The calendar color
title Unicode text -- This is the calendar title.
key Unicode text [r/o] -- An unique calendar key
Class application: This class represents iCal.
Plural form:
applications
Elements:
calendar by numeric index, before/after another element, as a range of elements, satisfying a test
document by name, by numeric index, before/after another element, as a range of elements, satisfying a test
window by name, by numeric index, before/after another element, as a range of elements, satisfying a test, by ID
Properties:
<Inheritance> application [r/o] -- All of the properties of the superclass.
Class todo: This class represents an todo
Plural form:
todos
Properties:
<Inheritance> item [r/o] -- All of the properties of the superclass.
sequence integer -- The todo version
due date date -- The todo due date
summary Unicode text -- The todo summary
completion date date -- The todo completion date
priority integer -- The todo priority
stamp date date [r/o] -- The todo last stamp date
uid Unicode text [r/o] -- An unique todo key
Class event: This class represents an event
Plural form:
events
Properties:
<Inheritance> item [r/o] -- All of the properties of the superclass.
start date date -- The event start date
sequence integer -- The event version
description Unicode text -- This is the event description.
stamp date date [r/o] -- The event last stamp date
recurrence Unicode text -- The iCAL string describing the event recurrence, if defined
status none/cancelled/tentative/confirmed -- The event status
summary Unicode text -- The event summary
end date date -- The event end date, if defined
uid Unicode text [r/o] -- An unique event key