Object Summary for AppleScript™

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 Outline

application
    windows.

Inheritance Outline

   

Class list

application
attachment
attendee
attribute run
calendar
character
display alarm
event
mail alarm
open file alarm
paragraph
sound alarm
text
todo
window
word
iCal AppleScript Dictionary

application

application n [inh. anything; see also Standard Suite] : This class represents iCal.

Elements

Contains: calendars.

application n [see also iCal] : An application's top level scripting object.

Elements

Contains: documents, windows.

Properties

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.

attachment

attachment n [inh. text] : Represents an inline text attachment. This class is used mainly for make commands.

Elements

Contained by: text.

Properties

file name (Unicode text) The path to the file for the attachment

attendee

attendee n [inh. anything] : This class represents a attendee.

Elements

Contained by: events.

Properties

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.

attribute run

attribute run n [inh. text] : This subdivides the text into chunks that all have the same attributes.

Elements

Contained by: text.

calendar

calendar n [inh. anything] : This class represents a calendar.

Elements

Contains: todos, events; contained by application.

Properties

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.

character

character n [inh. text] : This subdivides the text into characters.

Elements

Contained by: text.

document n : A document.

Elements

Contained by: application.

Properties

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.

display alarm

display alarm n [inh. anything] : This class represents a message alarm.

Elements

Contained by: todos, events.

Properties

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..

event

event n [inh. anything] : This class represents an event.

Elements

Contains: attendees, display alarms, mail alarms, open file alarms, sound alarms; contained by calendars.

Properties

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.

mail alarm

mail alarm n [inh. anything] : This class represents a mail alarm.

Elements

Contained by: todos, events.

Properties

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..

open file alarm

open file alarm n [inh. anything] : This class represents an 'open file' alarm.

Elements

Contained by: todos, events.

Properties

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..

paragraph

paragraph n [inh. text] : This subdivides the text into paragraphs.

Elements

Contained by: text.

sound alarm

sound alarm n [inh. anything] : This class represents a sound alarm.

Elements

Contained by: todos, events.

Properties

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..

text

text n, pl text : Rich (styled) text

Elements

Contains: paragraphs, words, characters, attribute runs, attachments.

Properties

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.

todo

todo n [inh. anything] : This class represents a task.

Elements

Contains: display alarms, mail alarms, open file alarms, sound alarms; contained by calendars.

Properties

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.

window n : A window.

Elements

Contained by: application.

Properties

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.

word

word n [inh. text] : This subdivides the text into words.

Elements

Contained by: text.