<propertyname="global status"code="Pgst"type="status"access="rw"description="The global status. This is the status that the most online accounts are currently using; it will only be an offline status if no accounts are online. Setting it changes the status for all accounts.">
<cocoakey="globalStatus"/>
</property>
<elementtype="account"/>
<elementtype="contact"/>
<elementtype="contact group"/>
<elementtype="service"/>
<elementtype="window">
<cocoakey="orderedWindows"/>
</element>
<elementtype="chat window"/>
<elementtype="chat"/>
<elementtype="status"/>
<responds-toname="go online">
<cocoamethod="scriptingGoOnline:"/>
</responds-to>
<responds-toname="go available">
<cocoamethod="scriptingGoAvailable:"/>
</responds-to>
<responds-toname="go offline">
<cocoamethod="scriptingGoOffline:"/>
</responds-to>
<responds-toname="go away">
<cocoamethod="scriptingGoAway:"/>
</responds-to>
<responds-toname="go invisible">
<cocoamethod="scriptingGoInvisible:"/>
</responds-to>
<responds-toname="GetURL">
<cocoamethod="scriptingGetURL:"/>
</responds-to>
</class>
<classname="service"code="Csrv"description="An Adium service (a.k.a. chat protocol)">
<cocoaclass="AIService"/>
<propertyname="name"code="pnam"type="text"access="r"description="The name of the service.">
<cocoakey="serviceID"/>
</property>
<propertyname="image"code="Pimg"type="TIFF picture"access="r"description="The image associated with this service."/>
<elementtype="account"/>
</class>
<classname="window"code="cwin"description="A window in Adium">
<cocoaclass="NSWindow"/>
<propertyname="name"code="pnam"type="text"access="r"description="The title of this window">
<cocoakey="scriptingTitle"/>
</property>
<propertyname="id"code="ID "type="integer"access="r"description="The unique identifier of the window.">
<cocoakey="uniqueID"/>
</property>
<propertyname="index"code="pidx"type="integer"description="The index of the window, ordered front to back.">
<cocoakey="orderedIndex"/>
</property>
<propertyname="bounds"code="pbnd"type="rectangle"description="The bounding rectangle of the window.">
<cocoakey="boundsAsQDRect"/>
</property>
<propertyname="closeable"code="hclb"type="boolean"access="r"description="Whether the window has a close box.">
<cocoakey="hasCloseBox"/>
</property>
<propertyname="minimizable"code="ismn"type="boolean"access="r"description="Whether the window can be minimized.">
<cocoakey="isMiniaturizable"/>
</property>
<propertyname="minimized"code="pmnd"type="boolean"description="Whether the window is currently minimized.">
<cocoakey="isMiniaturized"/>
</property>
<propertyname="resizable"code="prsz"type="boolean"access="r"description="Whether the window can be resized.">
<cocoakey="isResizable"/>
</property>
<propertyname="visible"code="pvis"type="boolean"description="Whether the window is currently visible.">
<cocoakey="isVisible"/>
</property>
<propertyname="zoomable"code="iszm"type="boolean"access="r"description="Whether the window can be zoomed.">
<cocoakey="isZoomable"/>
</property>
<propertyname="zoomed"code="pzum"type="boolean"description="Whether the window is currently zoomed.">
<cocoakey="isZoomed"/>
</property>
</class>
<classname="chat window"code="Ctwn"description="A window that contains chats"inherits="window">
<cocoaclass="AIMessageWindow"/>
<elementtype="chat"/>
<responds-toname="close">
<cocoamethod="handleCloseScriptCommand:"/>
</responds-to>
</class>
<classname="chat"code="Chat"description="A chat in Adium">
<cocoaclass="AIChat"/>
<propertyname="name"code="pnam"type="text"access="r"description="The name of the chat">
<cocoakey="scriptingName"/>
</property>
<propertyname="ID"code="ID "type="text"access="r"description="The unique identifier of the chat.">
<cocoakey="uniqueChatID"/>
</property>
<propertyname="account"code="Cact"type="account"access="r"description="The account associated with this chat">
<cocoakey="scriptingAccount"/>
</property>
<propertyname="date opened"code="CDop"type="date"access="r"description="The date and time at which this chat was opened">
<cocoakey="dateOpened"/>
</property>
<propertyname="index"code="pidx"type="integer"access="r"description="The index of this tab in the chat window"/>
<propertyname="window"code="cwin"type="window"access="r"description="The window this chat is in"/>
<propertyname="unread message count"code="Pumc"type="integer"access="r"description="The number of unread messages for this chat">
<cocoakey="unviewedContentCount"/>
</property>
<elementtype="contact">
<cocoakey="containedObjects"/>
</element>
<responds-toname="close">
<cocoamethod="handleCloseScriptCommand:"/>
</responds-to>
<responds-toname="send">
<cocoamethod="sendScriptCommand:"/>
</responds-to>
<responds-tocommand="become active">
<cocoamethod="goActiveScriptCommand:"/>
</responds-to>
</class>
<enumerationname="status types"code="Esta">
<enumeratorname="offline"code="Soff"description="Account is offline."/>
<enumeratorname="available"code="Sonl"description="Account is online."/>
<enumeratorname="away"code="Sawy"description="Account is away."/>
<enumeratorname="invisible"code="Sinv"description="Account is invisible."/>
<classname="account"code="Cact"description="An account in Adium">
<cocoaclass="AIAccount"/>
<propertyname="id"code="ID "type="integer"access="r"description="The unique ID associated with this account">
<cocoakey="scriptingInternalObjectID"/>
</property>
<propertyname="name"code="pnam"type="text"access="r"description="The name of this account">
<cocoakey="scriptingUID"/>
</property>
<propertyname="display name"code="Pdnm"type="text"access="rw"description="The display name of this account"/>
<propertyname="service"code="Csrv"type="service"access="r"description="The service this account is registered under"/>
<propertyname="enabled"code="Penb"type="boolean"access="rw"description="Whether or not this account is enabled"/>
<propertyname="host"code="Phst"type="text"access="r"description="The host this account is connected to"/>
<propertyname="port"code="Pprt"type="integer"access="r"description="The port this account is connected to"/>
<propertyname="status"code="Csts"type="status"access="rw"description="The current status on the account.">
<cocoakey="statusState"/>
</property>
<propertyname="status type"code="Psts"type="status types"access="rw"description="The type of the current status. Setting this creates a temporary status.">
<cocoakey="scriptingStatusType"/>
</property>
<propertyname="status message"code="Pasm"type="rich text"access="rw"description="The message associated with the current status. Setting this creates a temporary status.">
<cocoakey="scriptingStatusMessage"/>
</property>
<propertyname="image"code="Pimg"type="TIFF picture"access="rw"description="The image associated with this account.">
<cocoakey="userIconData"/>
</property>
<!-- Technically, by the scripting interface guidelines, a proxy should be its own class. However, I don't see that as useful outside of AS, so I'm just going to implement this here. -applmak-->
<propertyname="proxy enabled"code="Ppxe"type="boolean"access="rw"description="Whether or not a proxy is enabled for this account."/>
<propertyname="proxy type"code="Ppxt"type="proxy types"access="rw"description="The type of this proxy.">
<propertyname="account"code="Cact"type="account"access="r"description="The account associated with this contact"/>
<propertyname="group"code="Pgrp"type="contact group"access="r"description="The group associated with this contact">
<cocoakey="parentGroup"/>
</property>
<propertyname="name"code="pnam"type="text"access="r"description="The name of this contact">
<cocoakey="UID"/>
</property>
<propertyname="ID"code="ID "type="text"access="r"description="The opaque unique identifier of the contact">
<cocoakey="internalObjectID"/>
</property>
<propertyname="display name"code="Pdnm"type="text"access="rw"description="The display name or alias associated with this contact."/>
<propertyname="notes"code="Pnts"type="text"access="rw"description="The user-defined notes for this contact."/>
<propertyname="idle time"code="Pidl"type="integer"access="r"description="The time this contact has been idle."/>
<propertyname="status type"code="Psts"type="status types"access="r"description="The current status of this contact">
<cocoakey="scriptingStatusType"/>
</property>
<propertyname="status message"code="Pasm"type="rich text"access="r"description="The custom status message for this contact.">
<cocoakey="scriptingStatusMessage"/>
</property>
<propertyname="image"code="Pimg"type="TIFF picture"access="rw"description="The image associated with this contact.">
<cocoakey="userIconData"/>
</property>
<propertyname="blocked"code="Pblk"type="boolean"access="rw"description="Whether or not this contact is marked as blocked.">
<cocoakey="scriptingBlocked"/>
</property>
</class>
<classname="status"plural="statuses"code="Csts"description="A saved status in Adium">
<cocoaclass="AIStatus"/>
<propertyname="title"code="Pttl"type="text"access="rw"description="The title of the status.">
<cocoakey="scriptingTitle"/>
</property>
<propertyname="status type"code="Psts"type="status types"access="rw"description="The type of this status.">
<cocoakey="statusTypeApplescript"/>
</property>
<propertyname="status message"code="Pasm"type="rich text"access="rw"description="The custom status message.">
<cocoakey="scriptingMessage"/>
</property>
<propertyname="autoreply"code="Paut"type="rich text"access="rw"description="The message to auto reply">
<cocoakey="scriptingAutoreply"/>
</property>
<propertyname="id"code="ID "type="integer"access="r"description="The unique ID of the status">
<cocoakey="uniqueStatusID"/>
</property>
<propertyname="saved"code="Psav"type="boolean"access="rw"description="Whether this status is temporary or not">
<cocoakey="scriptingMutabilityType"/>
</property>
</class>
<commandname="close"code="coreclos"description="Close a document.">
<cocoaclass="NSCloseCommand"/>
<direct-parametertype="specifier"description="the document(s) or window(s) to close."/>
</command>
<commandname="go online"code="Adumgoon"description="Changes the status of an account.">
<cocoaclass="NSScriptCommand"/>
<direct-parameterdescription="The account that should connect"type="account"/>
<parametername="with message"code="Pmsg"description="The custom status message."type="rich text"optional="yes">
<cocoakey="WithMessage"/>
</parameter>
</command>
<commandname="go available"code="Adumgoav"description="Changes the status of an account.">
<cocoaclass="NSScriptCommand"/>
<direct-parameterdescription="The account that should become available"type="account"/>
<parametername="with message"code="Pmsg"description="The custom status message."type="rich text"optional="yes">
<cocoakey="WithMessage"/>
</parameter>
</command>
<commandname="go offline"code="Adumgoof"description="Changes the status of an account.">
<cocoaclass="NSScriptCommand"/>
<direct-parameterdescription="The account that should disconnect"type="account"/>
<parametername="with message"code="Pmsg"description="The custom status message."type="rich text"optional="yes">
<cocoakey="WithMessage"/>
</parameter>
</command>
<commandname="go away"code="Adumgoaw"description="Changes the status of an account.">
<cocoaclass="NSScriptCommand"/>
<direct-parameterdescription="The account that should go away"type="account"/>
<parametername="with message"code="Pmsg"description="The custom status message."type="rich text"optional="yes">
<cocoakey="WithMessage"/>
</parameter>
</command>
<commandname="go invisible"code="Adumgoin"description="Changes the status of an account.">
<cocoaclass="NSScriptCommand"/>
<direct-parameterdescription="The account that should become invisible"type="account"/>
<parametername="with message"code="Pmsg"description="The custom status message."type="rich text"optional="yes">
<cocoakey="WithMessage"/>
</parameter>
</command>
<commandname="GetURL"code="GURLGURL"description="Tells Adium to open the specified chat, in URL form">
<cocoaclass="NSScriptCommand"/>
<direct-parameterdescription="The URL of the chat"type="text"/>
</command>
<commandname="count"code="corecnte"description="Return the number elements of a particular class within an object.">
<cocoaclass="NSCountCommand"/>
<direct-parameterdescription="the object whose elements are to be counted"type="specifier"/>
<parametername="each"code="kocl"description="The class of objects to be counted."type="type"optional="yes">
<cocoakey="ObjectClass"/>
</parameter>
<resultdescription="the number of elements"type="integer"/>
</command>
<commandname="delete"code="coredelo"description="Delete an object.">
<cocoaclass="NSDeleteCommand"/>
<direct-parameterdescription="the object to delete"type="specifier"/>
</command>
<commandname="exists"code="coredoex"description="Verify if an object exists.">
<cocoaclass="NSExistsCommand"/>
<direct-parameterdescription="the object in question"type="specifier"/>
<resultdescription="true if it exists, false if not"type="boolean"/>
</command>
<commandname="make"code="corecrel"description="Make a new object.">
<cocoaclass="AICreateCommand"/>
<parametername="new"code="kocl"description="The class of the new object."type="type">
<cocoakey="ObjectClass"/>
</parameter>
<parametername="at"code="insh"description="The location at which to insert the object."type="location specifier"optional="yes">
<cocoakey="Location"/>
</parameter>
<parametername="with data"code="data"description="The initial data for the object."type="any"optional="yes">
<cocoakey="ObjectData"/>
</parameter>
<parametername="with properties"code="prdt"description="The initial values for properties of the object."type="record"optional="yes">
<cocoakey="KeyDictionary"/>
</parameter>
<parametername="with contacts"code="Pwct"description="The contacts needed for creating a chat or group."type="list of contact"optional="yes">
<cocoakey="withContacts"/>
</parameter>
<parametername="new chat window"code="Pncw"description="If this is true, then a new chat window will be created when creating a chat."type="boolean"optional="yes">
<cocoakey="newChatWindow"/>
</parameter>
<parametername="in window"code="Piwd"description="If set, will create the new chat within the passed chat window"type="chat window"optional="yes">
<cocoakey="inWindow"/>
</parameter>
<resultdescription="to the new object"type="specifier"/>
</command>
<commandname="move"code="coremove"description="Move object(s) to a new location.">
<cocoaclass="AIMoveCommand"/>
<direct-parametertype="specifier"description="the object(s) to move"/>
<parametername="to"code="insh"type="location specifier"description="The new location for the object(s).">
<cocoakey="ToLocation"/>
</parameter>
<resulttype="specifier"description="the moved object(s)"/>
</command>
<commandname="send"code="Adumsend"description="Send text or a file to some contact.">
<cocoaclass="NSScriptCommand"/>
<direct-parametertype="chat"description="The chat that mimics the entry... yada yada"/>
<parametername="message"code="Smsg"description="The message to send"type="text"optional="yes">
<cocoakey="message"/>
</parameter>
<parametername="with file"code="Sfil"description="A file to attach"type="file"optional="yes">
<cocoakey="withFile"/>
</parameter>
</command>
<commandname="become active"code="Adumactv"description="Set a chat to active.">
<cocoaclass="NSScriptCommand"/>
<direct-parametertype="chat"description="The chat that should become active."/>
</command>
</suite>
<suitename="Text Suite"code="TEXT"description="A set of basic classes for text processing.">
<!-- this "type" element and the ones that follow, while they
contradict the DTD, are NOT errors. Cocoa Scripting in 10.4 uses them to accomplish certain type conversions. -->
<typetype="text"/>
<propertyname="color"code="colr"type="color"description="The color of the first character.">
<cocoakey="foregroundColor"/>
</property>
<propertyname="font"code="font"type="text"description="The name of the font of the first character.">
<cocoakey="fontName"/>
</property>
<propertyname="size"code="ptsz"type="integer"description="The size in points of the first character.">
<cocoakey="fontSize"/>
</property>
<elementtype="character"/>
<elementtype="paragraph"/>
<elementtype="word"/>
<elementtype="attribute run"/>
<elementtype="attachment"/>
</class>
<classname="character"code="cha "description="This subdivides the text into characters.">
<cocoaclass="NSTextStorage"/>
<typetype="text"/>
<propertyname="color"code="colr"type="color"description="The color of the first character.">
<cocoakey="foregroundColor"/>
</property>
<propertyname="font"code="font"type="text"description="The name of the font of the first character.">
<cocoakey="fontName"/>
</property>
<propertyname="size"code="ptsz"type="integer"description="The size in points of the first character.">
<cocoakey="fontSize"/>
</property>
<elementtype="character"/>
<elementtype="paragraph"/>
<elementtype="word"/>
<elementtype="attribute run"/>
<elementtype="attachment"/>
</class>
<classname="paragraph"code="cpar"description="This subdivides the text into paragraphs.">
<cocoaclass="NSTextStorage"/>
<typetype="text"/>
<propertyname="color"code="colr"type="color"description="The color of the first character.">
<cocoakey="foregroundColor"/>
</property>
<propertyname="font"code="font"type="text"description="The name of the font of the first character.">
<cocoakey="fontName"/>
</property>
<propertyname="size"code="ptsz"type="integer"description="The size in points of the first character.">
<cocoakey="fontSize"/>
</property>
<elementtype="character"/>
<elementtype="paragraph"/>
<elementtype="word"/>
<elementtype="attribute run"/>
<elementtype="attachment"/>
</class>
<classname="word"code="cwor"description="This subdivides the text into words.">
<cocoaclass="NSTextStorage"/>
<typetype="text"/>
<propertyname="color"code="colr"type="color"description="The color of the first character.">
<cocoakey="foregroundColor"/>
</property>
<propertyname="font"code="font"type="text"description="The name of the font of the first character.">
<cocoakey="fontName"/>
</property>
<propertyname="size"code="ptsz"type="integer"description="The size in points of the first character.">
<cocoakey="fontSize"/>
</property>
<elementtype="character"/>
<elementtype="paragraph"/>
<elementtype="word"/>
<elementtype="attribute run"/>
<elementtype="attachment"/>
</class>
<classname="attribute run"code="catr"description="This subdivides the text into chunks that all have the same attributes.">
<cocoaclass="NSTextStorage"/>
<typetype="text"/>
<propertyname="color"code="colr"type="color"description="The color of the first character.">
<cocoakey="foregroundColor"/>
</property>
<propertyname="font"code="font"type="text"description="The name of the font of the first character.">
<cocoakey="fontName"/>
</property>
<propertyname="size"code="ptsz"type="integer"description="The size in points of the first character.">
<cocoakey="fontSize"/>
</property>
<elementtype="character"/>
<elementtype="paragraph"/>
<elementtype="word"/>
<elementtype="attribute run"/>
<elementtype="attachment"/>
</class>
<classname="attachment"code="atts"inherits="rich text"description="Represents an inline text attachment. This class is used mainly for make commands.">
<cocoaclass="NSAttachmentTextStorage"/>
<propertyname="file name"code="atfn"type="text"description="The path to the file for the attachment">