Reverted [20954]: Growl-WithInstaller 0.76. The 1.1.1 framework has some remaining...
[adiumx.git] / Resources / Adium.sdef
blob187c40bc977241df1e375845d4b235c883b40e70
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
3 <dictionary>
4 <!--Standard suite, also known as the core suite-->
5 <suite name="Standard Suite" code="core" description="Common classes and commands for most applications.">
6 <command name="close" code="coreclos" description="Close an object.">
7 <direct-parameter type="reference" description="the object for the command"/>
8 <parameter name="saving" code="savo" type="savo" optional="yes" description="Specifies whether changes should be saved before closing."/>
9 <parameter name="saving in" code="kfil" type="alias" optional="yes" description="The file in which to save the object."/>
10 </command>
11 <command name="count" code="corecnte" description="Return the number of elements of a particular class within an object.">
12 <direct-parameter type="reference" description="the object for the command"/>
13 <parameter name="each" code="kocl" type="type class" optional="yes" description="The class of objects to be counted."/>
14 <result type="integer"/>
15 </command>
16 <command name="delete" code="coredelo" description="Delete an object.">
17 <direct-parameter type="reference" description="the object for the command"/>
18 </command>
19 <command name="duplicate" code="coreclon" description="Copy object(s) and put the copies at a new location.">
20 <direct-parameter type="reference" description="the object for the command"/>
21 <parameter name="to" code="insh" type="location reference" description="The location for the new object(s)."/>
22 <parameter name="with properties" code="prdt" type="record" optional="yes" description="Properties to be set in the new duplicated object(s)."/>
23 </command>
24 <command name="exists" code="coredoex" description="Verify if an object exists.">
25 <direct-parameter type="reference" description="the object for the command"/>
26 <result type="boolean"/>
27 </command>
28 <command name="get" code="coregetd" description="Get the data for an object.">
29 <direct-parameter type="reference" description="the object for the command"/>
30 <result type="anything"/>
31 </command>
32 <command name="make" code="corecrel" description="Make a new object.">
33 <parameter name="new" code="kocl" type="type class" description="The class of the new object."/>
34 <parameter name="at" code="insh" type="location reference" optional="yes" description="The location at which to insert the object."/>
35 <parameter name="with data" code="data" type="anything" optional="yes" description="The initial data for the object."/>
36 <parameter name="with properties" code="prdt" type="record" optional="yes" description="The initial values for properties of the object."/>
37 <result type="reference"/>
38 </command>
39 <command name="move" code="coremove" description="Move object(s) to a new location.">
40 <direct-parameter type="reference" description="the object for the command"/>
41 <parameter name="to" code="insh" type="location reference" description="The new location for the object(s)."/>
42 </command>
43 <command name="open" code="aevtodoc" description="Open an object.">
44 <direct-parameter type="alias" description="The file(s) to be opened."/>
45 </command>
46 <command name="print" code="aevtpdoc" description="Print an object.">
47 <direct-parameter type="alias" description="The file(s) or document(s) to be printed."/>
48 <parameter name="print dialog" code="pdlg" type="boolean" optional="yes" description="Should the application show the Print dialog?"/>
49 <parameter name="with properties" code="prdt" type="print settings" optional="yes" description="the print settings"/>
50 </command>
51 <command name="quit" code="aevtquit" description="Quit an application.">
52 <direct-parameter type="reference" description="the object for the command"/>
53 <parameter name="saving" code="savo" type="savo" optional="yes" description="Specifies whether changes should be saved before quitting."/>
54 </command>
55 <command name="save" code="coresave" description="Save an object.">
56 <direct-parameter type="reference" description="the object for the command"/>
57 <parameter name="as" code="fltp" type="Unicode text" optional="yes" description="The file type in which to save the data."/>
58 <parameter name="in" code="kfil" type="alias" optional="yes" description="The file in which to save the object."/>
59 </command>
60 <command name="set" code="coresetd" description="Set an object&apos;s data.">
61 <direct-parameter type="reference" description="the object for the command"/>
62 <parameter name="to" code="data" type="anything" description="The new value."/>
63 </command>
64 <class name="application" code="capp" description="An application&apos;s top level scripting object." inherits="item">
65 <element type="document"/>
66 <element type="window"/>
67 <property name="frontmost" code="pisf" type="boolean" access="r" description="Is this the frontmost (active) application?"/>
68 <property name="name" code="pnam" type="Unicode text" access="r" description="The name of the application."/>
69 <property name="version" code="vers" type="Unicode text" access="r" description="The version of the application."/>
70 </class>
71 <class name="color" code="colr" description="A color." inherits="item"/>
72 <class name="document" code="docu" description="A document." inherits="item">
73 <property name="modified" code="imod" type="boolean" access="r" description="Has the document been modified since the last save?"/>
74 <property name="name" code="pnam" type="Unicode text" description="The document&apos;s name."/>
75 <property name="path" code="ppth" type="Unicode text" description="The document&apos;s path."/>
76 </class>
77 <class name="item" code="cobj" description="A scriptable object.">
78 <property name="class" code="pcls" type="type class" access="r" description="The class of the object."/>
79 <property name="properties" code="pALL" type="record" description="All of the object&apos;s properties."/>
80 </class>
81 <class name="window" code="cwin" description="A window." inherits="item">
82 <property name="bounds" code="pbnd" type="bounding rectangle" description="The bounding rectangle of the window."/>
83 <property name="closeable" code="hclb" type="boolean" access="r" description="Whether the window has a close box."/>
84 <property name="document" code="docu" type="document" access="r" description="The document whose contents are being displayed in the window."/>
85 <property name="floating" code="isfl" type="boolean" access="r" description="Whether the window floats."/>
86 <property name="id" code="ID " type="integer" access="r" description="The unique identifier of the window."/>
87 <property name="index" code="pidx" type="integer" description="The index of the window, ordered front to back."/>
88 <property name="miniaturizable" code="ismn" type="boolean" access="r" description="Whether the window can be miniaturized."/>
89 <property name="miniaturized" code="pmnd" type="boolean" description="Whether the window is currently miniaturized."/>
90 <property name="modal" code="pmod" type="boolean" access="r" description="Whether the window is the application&apos;s current modal window."/>
91 <property name="name" code="pnam" type="Unicode text" description="The full title of the window."/>
92 <property name="resizable" code="prsz" type="boolean" access="r" description="Whether the window can be resized."/>
93 <property name="titled" code="ptit" type="boolean" access="r" description="Whether the window has a title bar."/>
94 <property name="visible" code="pvis" type="boolean" description="Whether the window is currently visible."/>
95 <property name="zoomable" code="iszm" type="boolean" access="r" description="Whether the window can be zoomed."/>
96 <property name="zoomed" code="pzum" type="boolean" description="Whether the window is currently zoomed."/>
97 </class>
98 <enumeration name="savo" code="savo">
99 <enumerator name="ask" code="ask " description="Ask the user whether or not to save the file."/>
100 <enumerator name="no" code="no " description="Do not save the file."/>
101 <enumerator name="yes" code="yes " description="Save the file."/>
102 </enumeration>
103 </suite>
105 <suite name="Text Suite" code="TEXT" description="A set of basic classes for text processing.">
106 <class name="attachment" code="atts" description="Represents an inline text attachment. This class is used mainly for make commands." inherits="text">
107 <element type="attachment"/>
108 <element type="attribute run"/>
109 <element type="character"/>
110 <element type="paragraph"/>
111 <element type="word"/>
112 <property name="file name" code="atfn" type="Unicode text" description="The path to the file for the attachment"/>
113 </class>
114 <class name="attribute run" code="catr" description="This subdivides the text into chunks that all have the same attributes." inherits="item">
115 <element type="attachment"/>
116 <element type="attribute run"/>
117 <element type="character"/>
118 <element type="paragraph"/>
119 <element type="word"/>
120 <property name="color" code="colr" type="color" description="The color of the first character."/>
121 <property name="font" code="font" type="Unicode text" description="The name of the font of the first character."/>
122 <property name="size" code="ptsz" type="integer" description="The size in points of the first character."/>
123 </class>
124 <class name="character" code="cha " description="This subdivides the text into characters." inherits="item">
125 <element type="attachment"/>
126 <element type="attribute run"/>
127 <element type="character"/>
128 <element type="paragraph"/>
129 <element type="word"/>
130 <property name="color" code="colr" type="color" description="The color of the first character."/>
131 <property name="font" code="font" type="Unicode text" description="The name of the font of the first character."/>
132 <property name="size" code="ptsz" type="integer" description="The size in points of the first character."/>
133 </class>
134 <class name="paragraph" code="cpar" description="This subdivides the text into paragraphs." inherits="item">
135 <element type="attachment"/>
136 <element type="attribute run"/>
137 <element type="character"/>
138 <element type="paragraph"/>
139 <element type="word"/>
140 <property name="color" code="colr" type="color" description="The color of the first character."/>
141 <property name="font" code="font" type="Unicode text" description="The name of the font of the first character."/>
142 <property name="size" code="ptsz" type="integer" description="The size in points of the first character."/>
143 </class>
144 <class name="text" code="ctxt" description="Rich (styled) text" inherits="item">
145 <element type="attachment"/>
146 <element type="attribute run"/>
147 <element type="character"/>
148 <element type="paragraph"/>
149 <element type="word"/>
150 <property name="color" code="colr" type="color" description="The color of the first character."/>
151 <property name="font" code="font" type="Unicode text" description="The name of the font of the first character."/>
152 <property name="size" code="ptsz" type="integer" description="The size in points of the first character."/>
153 </class>
154 <class name="word" code="cwor" description="This subdivides the text into words." inherits="item">
155 <element type="attachment"/>
156 <element type="attribute run"/>
157 <element type="character"/>
158 <element type="paragraph"/>
159 <element type="word"/>
160 <property name="color" code="colr" type="color" description="The color of the first character."/>
161 <property name="font" code="font" type="Unicode text" description="The name of the font of the first character."/>
162 <property name="size" code="ptsz" type="integer" description="The size in points of the first character."/>
163 </class>
164 </suite>
166 <suite name="Adium Suite" code="AdIM" description="commands and classes for Adium scripting.">
167 <command name="connect" code="AdIMcnct" description="Request that an account connect to its service. If the account password is not in the keychain the user will be prompted to enter one.">
168 <direct-parameter type="account" description="an account"/>
169 </command>
170 <command name="create chat" code="AdIMcCdM" description="Create a new chat.">
171 <parameter name="on service" code="cCsI" type="Unicode text" description="The service ID (such as AIM, MSN, Yahoo, Jabber, ICQ) on which the chat should be initiated."/>
172 <parameter name="with contact" code="TO " type="Unicode text" description="The screen name (UID) of the destination contact." hidden="yes"/>
173 <result type="chat"/>
174 </command>
175 <command name="create group chat" code="AdIMcR&uuml;m" description="Create a new chat.">
176 <direct-parameter type="Unicode text" description="The name of the group chat to join."/>
177 <parameter name="on service" code="cCsI" type="Unicode text" description="The service ID (such as AIM, MSN, Yahoo, Jabber, ICQ) on which the chat should be initiated."/>
178 <result type="chat"/>
179 </command>
180 <command name="disconnect" code="AdIMdcnt" description="Disconnect an account, or all accounts if no account is specified.">
181 <direct-parameter type="account" description="an account"/>
182 </command>
183 <command name="send" code="AdIMsndM" description="Send a message or file.">
184 <direct-parameter type="item" description="a contact or chat to which to send"/>
185 <parameter name="autoreply" code="sNd2" type="boolean" optional="yes" description="YES if the message should be tagged as an autoreply (if supported by the service - valid only if sending a textual message)."/>
186 <parameter name="file" code="ASfP" type="alias" optional="yes" description="Full path to a file to send. Sending of directories is not supported at this time."/>
187 <parameter name="message" code="TO " type="Unicode text" optional="yes" description="The message to send, which may be HTML-encoded."/>
188 <parameter name="on account" code="sNd3" type="account" optional="yes" description="An account with which to originate the message (if no account is specified, the best available account will be automatically determined)."/>
189 </command>
190 <class name="account" code="acct" description="A messaging account. Accounts inherit all capabilities of list objects." inherits="list object">
191 <element type="contact"/>
192 <property name="service image" code="AimG" type="TIFF picture" access="r" description="An image representing this account&apos;s service."/>
193 </class>
194 <class name="application" code="capp" description="The Adium X application. To access controllers besides the default subcontainer, put &quot;the first&quot; before the controller name even though there is only one." inherits="application">
195 <cocoa class="AIApplication" />
196 <element type="document"/>
197 <element type="window"/>
198 <element type="account"/>
199 <element type="chat" />
200 <element type="contact" />
201 <property name="active chat" code="AiAC" type="chat" description="The chat which most recently had focus." />
202 <property name="default image" code="AmaA" type="TIFF picture" description="The default image used for accounts&apos; user images if no other is specified."/>
203 </class>
204 <class name="chat" code="Acht" description="A chat." inherits="item">
205 <element type="contact"/>
206 <element type="content"/>
207 <property name="account" code="AchA" type="account" description="The account on which this chat is taking place."/>
208 <property name="chat image" code="AchI" type="TIFF picture" access="r" description="An image representing this chat."/>
209 <property name="chat name" code="AchN" type="Unicode text" access="r" description="The name of this chat (for a one-on-one chat, this is the same as the contact&apos;s display name."/>
210 <property name="date opened" code="AchD" type="date" access="r" description="The date this chat was opened."/>
211 <property name="ID" code="ID " type="Unicode text" access="r" description="A unique identifier for this chat."/>
212 <property name="log file" code="Alog" type="alias" access="r" description="The log file for this chat."/>
213 </class>
214 <class name="contact" code="ltct" description="A contact (buddy). Contacts inherit all capabilities of list objects." inherits="list object">
215 <property name="owning account" code="AcAC" type="account" access="r" description="The account on which this contact resides."/>
216 <property name="visible" code="AVsB" type="boolean" description="Is this contact visible in the contact list?"/>
217 </class>
218 <class name="content" code="AcoA" description="A basic unit of content. Includes messages, status changes, events, etc." inherits="item">
219 <property name="content chat" code="AcCh" type="chat" description="The chat in which this content resides."/>
220 <property name="content date" code="AcDa" type="date" access="r" description="The date this content was received."/>
221 <property name="destination" code="AcoD" type="list object" access="r" description="The destination of this content."/>
222 <property name="is outgoing" code="AcIO" type="boolean" access="r" description="Is this content outgoing?"/>
223 <property name="plain message" code="AcMs" type="Unicode text" description="The message of this content, in plain text (losing all formatting and embedded information)."/>
224 <synonym name="plainText message" />
225 </property>
226 <property name="HTML message" code="AcMh" type="Unicode text" description="The message of this content, as HTML source."/>
227 <property name="styled message" code="AcMr" type="styled Unicode text" description="The message of this content, as styled text. Preserves formatting, though obviously images and such will be stripped."/>
228 <property name="should display" code="AcDC" type="boolean" description="Should this message be displayed in its chat? (Useful when creating your own content objects.)"/>
229 <property name="should filter" code="AcFC" type="boolean" description="Should this message be filtered by message filters? (Useful when creating your own content objects.)"/>
230 <property name="should send" code="AcSC" type="boolean" description="Should this message be sent? This is relevant only if &ldquo;is outgoing&rdquo; is true. (Useful when creating your own content objects.)"/>
231 <property name="should track" code="AcTC" type="boolean" description="Should this message be tracked? For example, should Adium alert the user if it has not been viewed? (Useful when creating your own content objects.)"/>
232 <property name="source" code="AcoS" type="list object" access="r" description="The contact from whom this content originated."/>
233 </class>
234 <class name="content message" code="AcmA" description="A content object containing a message to or from a chat. Inherits from content." inherits="content">
235 <property name="is autoreply" code="AcAR" type="boolean" description="Is this message an automatic reply?"/>
236 </class>
237 <class name="list object" code="ltob" description="A contact or account." inherits="item">
238 <property name="display name" code="AdpN" type="Unicode text" description="The name, potentially specified by the user or via the address book, to display for this object."/>
239 <property name="ID" code="ID " type="Unicode text" access="r" description="A unique identifier for this object."/>
240 <property name="idle time" code="Adtm" type="integer" access="r" description="How long, in seconds, this contact or account has been idle."/>
241 <property name="image" code="AusI" type="TIFF picture" description="An image for this contact or account."/>
242 <property name="long display name" code="ALdN" type="Unicode text" access="r" description="A possibly longer form of the name to display for this object, which has no length restrictions and may include the UID of this object."/>
243 <property name="notes" code="AnoT" type="Unicode text" description="Notes on this object."/>
244 <property name="online" code="AcOn" type="boolean" access="r" description="Is this account or contact online?"/>
245 <property name="service class" code="AsSC" type="Unicode text" access="r" description="Same as service ID in most cases; a general class of compatible protocols. This is currently only different for AIM, ICQ, and .Mac, all of which have different service IDs but the same service class (AIM-compatible). For future compatibility, this is the recommended service identifier.">
246 <synonym name="serviceClass" />
247 </property>
248 <property name="service ID" code="AsID" type="Unicode text" access="r" description="Specific service (such as AIM, ICQ, or MSN) of this object. (See also service class.)">
249 <synonym name="serviceID" />
250 </property>
251 <property name="status message" code="Amsg" type="Unicode text" access="r" description="A message describing the status of this contact or account (&apos;away message&apos; in AIM terminology)."/>
252 <property name="status type" code="Atat" type="ACst" access="r" description="The status of this contact or account."/>
253 <property name="UID" code="AUID" type="Unicode text" access="r" description="UID (screenname, user ID, nick) of this object."/>
254 </class>
255 <class name="status" code="AISt" description="A status and all associated attributes which can be set on or retrieved from one or more accounts." inherits="item">
256 <property name="autoreply is status message" code="AAiS" type="boolean" description="Does this status treat its status message as an auto reply? If true, the value of the &ldquo;autoreply string&rdquo; attribute is ignored."/>
257 <property name="autoreply string" code="AARs" type="Unicode text" description="This status&apos;s auto reply; when setting, HTML may be optionally passed."/>
258 <property name="has an auto reply" code="AhAR" type="boolean" description="Does this status send an auto reply?"/>
259 <property name="icon" code="AISi" type="TIFF picture" access="r" description="An icon which represents this status to the user."/>
260 <property name="initial idle time" code="ASFt" type="real" description="Amount of time (in seconds) to set the user as idle when entering this status. Only used if &apos;should force initial idle time&apos; is YES."/>
261 <property name="should force idle" code="ASFi" type="boolean" description="Should this status force the user into an idle state regardless of computer activity?"/>
262 <property name="status message string" code="ASms" type="Unicode text" description="This status&apos;s status message; when setting, HTML may optionally be passed."/>
263 <property name="status name" code="ASSn" type="Unicode text" description="A specific name for this status; this further refines what is specified by the type. This will be used by protocols as appropriate. For example, for AIM, the status name is irrelevant; all away statuses are a simple Away, all available statuses are a sim"/>
264 <property name="title" code="ASti" type="Unicode text" description="The title of this status. If not explicitly set, the title is automatically determined from the other attributes."/>
265 <property name="type" code="ASSy" type="AsSt" description="The AIStatusType of this status -- available, away, invisible, or offline."/>
266 <property name="unique status ID" code="ASID" type="Unicode text" access="r" description="A unique ID for this status"/>
267 </class>
268 <enumeration name="ACst" code="ACst">
269 <enumerator name="available" code="avaL"/>
270 <enumerator name="away" code="awaY"/>
271 <enumerator name="away and idle" code="aYiE"/>
272 <enumerator name="idle" code="idlE"/>
273 <enumerator name="offline" code="offL"/>
274 <enumerator name="unknown" code="unkN"/>
275 </enumeration>
276 <enumeration name="AOst" code="AOst">
277 <enumerator name="connected" code="conn"/>
278 <enumerator name="connecting" code="cong"/>
279 <enumerator name="disconnected" code="dcon"/>
280 <enumerator name="disconnecting" code="dcng"/>
281 </enumeration>
282 <enumeration name="AsSt" code="AsSt">
283 <enumerator name="available" code="avaL"/>
284 <enumerator name="away" code="awaY"/>
285 <enumerator name="invisible" code="aSaI"/>
286 <enumerator name="offline" code="offL"/>
287 </enumeration>
288 </suite>
290 <suite name="Type Definitions" code="tpdf" description="Records used in scripting Adium">
291 <class name="print settings" code="pset">
292 <property name="copies" code="lwcp" type="integer" description="the number of copies of a document to be printed"/>
293 <property name="collating" code="lwcl" type="boolean" description="Should printed copies be collated?"/>
294 <property name="starting page" code="lwfp" type="integer" description="the first page of the document to be printed"/>
295 <property name="ending page" code="lwlp" type="integer" description="the last page of the document to be printed"/>
296 <property name="pages across" code="lwla" type="integer" description="number of logical pages laid across a physical page"/>
297 <property name="pages down" code="lwld" type="integer" description="number of logical pages laid out down a physical page"/>
298 <property name="error handling" code="lweh" type="enum" description="how errors are handled"/>
299 <property name="fax number" code="faxn" type="string" description="for fax number"/>
300 <property name="target printer" code="trpr" type="string" description="for target printer"/>
301 </class>
302 <enumeration name="enum" code="enum">
303 <enumerator name="standard" code="lwst" description="Standard PostScript error handling"/>
304 <enumerator name="detailed" code="lwdt" description="print a detailed report of PostScript errors"/>
305 </enumeration>
306 </suite>
307 </dictionary>