This outline should help you quickly find how to get at most of the properties available, for use with AppleScript.
Extracted from the dictionary as visible in Apple's Script Editor™. Conversion by 'appleScriptDoc', by Steven J. DeRose, November, 2008.
Container Outlineapplication windows. |
Inheritance Outline |
Class listapplication attachment attendee attribute run calendar character display alarm event mail alarm open file alarm paragraph sound alarm text todo window word |
Contains: calendars.
name (Unicode text, r/o) The name of the application.
frontmost (boolean, r/o) Is this the frontmost (active) application?
version (Unicode text, r/o) The version of the application.
Contained by: text.
file name (Unicode text) The path to the file for the attachment
Contained by: events.
display name (Unicode text, r/o) The first and last name of the attendee.
email (Unicode text, r/o) e-mail of the attendee.
participation status (unknown/accepted/declined/undecided) The invitation status for the attendee.
Contained by: text.
Contains: todos, events; contained by application.
name (Unicode text) This is the calendar title.
color (RGB color) The calendar color.
uid (Unicode text, r/o) A unique calendar key
writable (boolean, r/o) indicates whether this calendar is modifiable on this machine.
description (Unicode text) This is the calendar description.
Contained by: text.
Contained by: application.
path (Unicode text) The document's path.
modified (boolean, r/o) Has the document been modified since the last save?
name (Unicode text) The document's name.
Contained by: todos, events.
trigger interval (integer) The interval in minutes between the event and the alarm: (positive for alarm that trigger after the event date or negative for alarms that trigger before).
trigger date (date) An absolute alarm date..
Contains: attendees, display alarms, mail alarms, open file alarms, sound alarms; contained by calendars.
description (Unicode text) The events notes.
start date (date) The event start date.
end date (date) The event end date.
allday event (boolean) True if the event is an all-day event
recurrence (Unicode text) The iCalendar (RFC 2445) string describing the event recurrence, if defined
sequence (integer, r/o) The event version.
stamp date (date, r/o) The event modification date.
excluded dates (list of date) The exception dates.
status (cancelled/confirmed/none/tentative) The event status.
summary (Unicode text) This is the event summary.
location (Unicode text) This is the event location.
uid (Unicode text, r/o) A unique event key.
url (Unicode text) The URL associated to the event.
Contained by: todos, events.
trigger interval (integer) The interval in minutes between the event and the alarm: (positive for alarm that trigger after the event date or negative for alarms that trigger before).
trigger date (date) An absolute alarm date..
Contained by: todos, events.
trigger interval (integer) The interval in minutes between the event and the alarm: (positive for alarm that trigger after the event date or negative for alarms that trigger before).
filepath (Unicode text) The (POSIX) path to be opened by the alarm
trigger date (date) An absolute alarm date..
Contained by: text.
Contained by: todos, events.
trigger interval (integer) The interval in minutes between the event and the alarm: (positive for alarm that trigger after the event date or negative for alarms that trigger before).
sound name (Unicode text) The system sound name to be used for the alarm
sound file (Unicode text) The (POSIX) path to the sound file to be used for the alarm
trigger date (date) An absolute alarm date..
Contains: paragraphs, words, characters, attribute runs, attachments.
color (color) The color of the first character.
font (Unicode text) The name of the font of the first character.
size (number) The size in points of the first character.
Contains: display alarms, mail alarms, open file alarms, sound alarms; contained by calendars.
completion date (date) The todo completion date.
due date (date) The todo due date.
priority (no priority/low priority/medium priority/high priority) The todo priority.
sequence (integer, r/o) The todo version.
stamp date (date, r/o) The todo modification date.
summary (Unicode text) This is the todo summary.
description (Unicode text) The todo notes.
uid (Unicode text, r/o) A unique todo key.
url (Unicode text) The URL associated to the todo.
Contained by: application.
name (Unicode text) The full title of the window.
id (number, r/o) The unique identifier of the window.
bounds (bounding rectangle) The bounding rectangle of the window.
document (document, r/o) The document whose contents are being displayed in the window.
closeable (boolean, r/o) Whether the window has a close box.
titled (boolean, r/o) Whether the window has a title bar.
index (number) The index of the window in the back-to-front window ordering.
floating (boolean, r/o) Whether the window floats.
miniaturizable (boolean, r/o) Whether the window can be miniaturized.
miniaturized (boolean) Whether the window is currently miniaturized.
modal (boolean, r/o) Whether the window is the application's current modal window.
resizable (boolean, r/o) Whether the window can be resized.
visible (boolean) Whether the window is currently visible.
zoomable (boolean, r/o) Whether the window can be zoomed.
zoomed (boolean) Whether the window is currently zoomed.
Contained by: text.