| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd"> |
|---|
| 3 |
<dictionary title="Colloquy Terminology"> |
|---|
| 4 |
<suite name="Standard Suite" code="????" description="Common classes and commands for most applications."> |
|---|
| 5 |
<cocoa name="NSCoreSuite"/> |
|---|
| 6 |
|
|---|
| 7 |
<enumeration name="save options" code="savo"> |
|---|
| 8 |
<enumerator name="yes" code="yes " description="Save the file."/> |
|---|
| 9 |
<enumerator name="no" code="no " description="Do not save the file."/> |
|---|
| 10 |
<enumerator name="ask" code="ask " description="Ask the user whether or not to save the file."/> |
|---|
| 11 |
</enumeration> |
|---|
| 12 |
|
|---|
| 13 |
<class name="item" code="cobj" description="A scriptable object."> |
|---|
| 14 |
<cocoa class="AbstractObject"/> |
|---|
| 15 |
|
|---|
| 16 |
<property name="class" code="pcls" description="The class of the object." type="type" access="r"> |
|---|
| 17 |
<cocoa key="classCode"/> |
|---|
| 18 |
</property> |
|---|
| 19 |
|
|---|
| 20 |
<property name="properties" code="pALL" description="All of the object'" type="record"> |
|---|
| 21 |
<cocoa key="scriptingProperties"/> |
|---|
| 22 |
</property> |
|---|
| 23 |
|
|---|
| 24 |
<responds-to name="count"> |
|---|
| 25 |
<cocoa method=""/> |
|---|
| 26 |
</responds-to> |
|---|
| 27 |
<responds-to name="delete"> |
|---|
| 28 |
<cocoa method=""/> |
|---|
| 29 |
</responds-to> |
|---|
| 30 |
<responds-to name="duplicate"> |
|---|
| 31 |
<cocoa method=""/> |
|---|
| 32 |
</responds-to> |
|---|
| 33 |
<responds-to name="exists"> |
|---|
| 34 |
<cocoa method=""/> |
|---|
| 35 |
</responds-to> |
|---|
| 36 |
<responds-to name="get"> |
|---|
| 37 |
<cocoa method=""/> |
|---|
| 38 |
</responds-to> |
|---|
| 39 |
<responds-to name="move"> |
|---|
| 40 |
<cocoa method=""/> |
|---|
| 41 |
</responds-to> |
|---|
| 42 |
<responds-to name="set"> |
|---|
| 43 |
<cocoa method=""/> |
|---|
| 44 |
</responds-to> |
|---|
| 45 |
<responds-to name="send message" hidden="yes"> |
|---|
| 46 |
<cocoa method=" "/> |
|---|
| 47 |
</responds-to> |
|---|
| 48 |
<responds-to name="add event message" hidden="yes"> |
|---|
| 49 |
<cocoa method=" "/> |
|---|
| 50 |
</responds-to> |
|---|
| 51 |
</class> |
|---|
| 52 |
|
|---|
| 53 |
<class name="color" code="colr" description="A color."> |
|---|
| 54 |
<cocoa class="NSColor"/> |
|---|
| 55 |
</class> |
|---|
| 56 |
|
|---|
| 57 |
<command name="open" code="aevtodoc" description="Open an object."> |
|---|
| 58 |
<direct-parameter type="file" description="The file(s) to be opened."/> |
|---|
| 59 |
</command> |
|---|
| 60 |
|
|---|
| 61 |
<command name="print" code="aevtpdoc" description="Print an object."> |
|---|
| 62 |
<direct-parameter type="file" description="The file(s) or document(s) to be printed."/> |
|---|
| 63 |
</command> |
|---|
| 64 |
|
|---|
| 65 |
<command name="quit" code="aevtquit" description="Quit an application."> |
|---|
| 66 |
<cocoa class="NSQuitCommand"/> |
|---|
| 67 |
<parameter name="saving" code="savo" description="Specifies whether changes should be saved before quitting." type="save options" optional="yes"> |
|---|
| 68 |
<cocoa key="SaveOptions"/> |
|---|
| 69 |
</parameter> |
|---|
| 70 |
</command> |
|---|
| 71 |
|
|---|
| 72 |
<command name="close" code="coreclos" description="Close an object."> |
|---|
| 73 |
<cocoa class="NSCloseCommand"/> |
|---|
| 74 |
<direct-parameter type="specifier" description="the object to close"/> |
|---|
| 75 |
<parameter name="saving" code="savo" description="Specifies whether changes should be saved before closing." type="save options" optional="yes"> |
|---|
| 76 |
<cocoa key="SaveOptions"/> |
|---|
| 77 |
</parameter> |
|---|
| 78 |
<parameter name="saving in" code="kfil" description="The file in which to save the object." type="file" optional="yes"> |
|---|
| 79 |
<cocoa key="File"/> |
|---|
| 80 |
</parameter> |
|---|
| 81 |
</command> |
|---|
| 82 |
|
|---|
| 83 |
<command name="count" code="corecnte" description="Return the number of elements of a particular class within an object."> |
|---|
| 84 |
<cocoa class="NSCountCommand"/> |
|---|
| 85 |
<direct-parameter type="specifier" description="the object whose elements are to be counted"/> |
|---|
| 86 |
<result type="integer" description="the number of elements"/> |
|---|
| 87 |
<parameter name="each" code="kocl" description="The class of objects to be counted." type="type" optional="yes"> |
|---|
| 88 |
<cocoa key="ObjectClass"/> |
|---|
| 89 |
</parameter> |
|---|
| 90 |
</command> |
|---|
| 91 |
|
|---|
| 92 |
<command name="delete" code="coredelo" description="Delete an object."> |
|---|
| 93 |
<cocoa class="NSDeleteCommand"/> |
|---|
| 94 |
<direct-parameter type="specifier" description="the object to delete"/> |
|---|
| 95 |
</command> |
|---|
| 96 |
|
|---|
| 97 |
<command name="duplicate" code="coreclon" description="Copy object(s) and put the copies at a new location."> |
|---|
| 98 |
<cocoa name="Copy" class="NSCloneCommand"/> |
|---|
| 99 |
<direct-parameter type="specifier" description="the object(s) to duplicate"/> |
|---|
| 100 |
<parameter name="to" code="insh" description="The location for the new object(s)." type="location specifier"> |
|---|
| 101 |
<cocoa key="ToLocation"/> |
|---|
| 102 |
</parameter> |
|---|
| 103 |
<parameter name="with properties" code="prdt" description="Properties to be set in the new duplicated object(s)." type="record" optional="yes"> |
|---|
| 104 |
<cocoa key="WithProperties"/> |
|---|
| 105 |
</parameter> |
|---|
| 106 |
</command> |
|---|
| 107 |
|
|---|
| 108 |
<command name="exists" code="coredoex" description="Verify if an object exists."> |
|---|
| 109 |
<cocoa class="NSExistsCommand"/> |
|---|
| 110 |
<direct-parameter type="specifier" description="the object in question"/> |
|---|
| 111 |
<result type="boolean" description="true if it exists, false if not"/> |
|---|
| 112 |
</command> |
|---|
| 113 |
|
|---|
| 114 |
<command name="get" code="coregetd" description="Get the data for an object."> |
|---|
| 115 |
<cocoa class="NSGetCommand"/> |
|---|
| 116 |
<direct-parameter type="specifier"/> |
|---|
| 117 |
<result type="any"/> |
|---|
| 118 |
</command> |
|---|
| 119 |
|
|---|
| 120 |
<command name="make" code="corecrel" description="Make a new object."> |
|---|
| 121 |
<cocoa name="Create" class="NSCreateCommand"/> |
|---|
| 122 |
<result type="specifier" description="to the new object"/> |
|---|
| 123 |
<parameter name="new" code="kocl" description="The class of the new object." type="type"> |
|---|
| 124 |
<cocoa key="ObjectClass"/> |
|---|
| 125 |
</parameter> |
|---|
| 126 |
<parameter name="at" code="insh" description="The location at which to insert the object." type="location specifier" optional="yes"> |
|---|
| 127 |
<cocoa key="Location"/> |
|---|
| 128 |
</parameter> |
|---|
| 129 |
<parameter name="with data" code="data" description="The initial data for the object." type="any" optional="yes"> |
|---|
| 130 |
<cocoa key="ObjectData"/> |
|---|
| 131 |
</parameter> |
|---|
| 132 |
<parameter name="with properties" code="prdt" description="The initial values for properties of the object." type="record" optional="yes"> |
|---|
| 133 |
<cocoa key="KeyDictionary"/> |
|---|
| 134 |
</parameter> |
|---|
| 135 |
</command> |
|---|
| 136 |
|
|---|
| 137 |
<command name="move" code="coremove" description="Move object(s) to a new location."> |
|---|
| 138 |
<cocoa class="NSMoveCommand"/> |
|---|
| 139 |
<direct-parameter type="specifier" description="the object(s) to move"/> |
|---|
| 140 |
<parameter name="to" code="insh" description="The new location for the object(s)." type="location specifier"> |
|---|
| 141 |
<cocoa key="ToLocation"/> |
|---|
| 142 |
</parameter> |
|---|
| 143 |
</command> |
|---|
| 144 |
|
|---|
| 145 |
<command name="save" code="coresave" description="Save an object."> |
|---|
| 146 |
<direct-parameter type="specifier" description="the object to save, usually a document or window"/> |
|---|
| 147 |
<parameter name="in" code="kfil" description="The file in which to save the object." type="file" optional="yes"> |
|---|
| 148 |
<cocoa key="File"/> |
|---|
| 149 |
</parameter> |
|---|
| 150 |
<parameter name="as" code="fltp" description="The file type in which to save the data." type="text" optional="yes"> |
|---|
| 151 |
<cocoa key="FileType"/> |
|---|
| 152 |
</parameter> |
|---|
| 153 |
</command> |
|---|
| 154 |
|
|---|
| 155 |
<command name="set" code="coresetd" description="Set an object'"> |
|---|
| 156 |
<cocoa class="NSSetCommand"/> |
|---|
| 157 |
<direct-parameter type="specifier"/> |
|---|
| 158 |
<parameter name="to" code="data" description="The new value." type="any"> |
|---|
| 159 |
<cocoa key="Value"/> |
|---|
| 160 |
</parameter> |
|---|
| 161 |
</command> |
|---|
| 162 |
</suite> |
|---|
| 163 |
|
|---|
| 164 |
<suite name="Colloquy Suite" code="coRC" description="Classes and commands for Colloquy high-level scripting."> |
|---|
| 165 |
<cocoa name="Colloquy"/> |
|---|
| 166 |
|
|---|
| 167 |
<enumeration name="buddy status" code="bstE"> |
|---|
| 168 |
<cocoa name="BuddyStatus"/> |
|---|
| 169 |
<enumerator name="away" code="awaY"/> |
|---|
| 170 |
<enumerator name="offline" code="oflN"/> |
|---|
| 171 |
<enumerator name="available" code="avaL"/> |
|---|
| 172 |
<enumerator name="idle" code="idlE"/> |
|---|
| 173 |
</enumeration> |
|---|
| 174 |
|
|---|
| 175 |
<enumeration name="ignore status" code="igsE"> |
|---|
| 176 |
<cocoa name="IgnoreStatus"/> |
|---|
| 177 |
<enumerator name="message ignored" code="msIg"/> |
|---|
| 178 |
<enumerator name="not ignored" code="noIg"/> |
|---|
| 179 |
<enumerator name="user ignored" code="usIg"/> |
|---|
| 180 |
</enumeration> |
|---|
| 181 |
|
|---|
| 182 |
<class name="application" code="capp" description="The Colloquy application'"> |
|---|
| 183 |
<cocoa class="NSApplication"/> |
|---|
| 184 |
|
|---|
| 185 |
<element type="window" access="r"> |
|---|
| 186 |
<cocoa key="orderedWindows"/> |
|---|
| 187 |
</element> |
|---|
| 188 |
<element code="chvC" type="panel" access="r"> |
|---|
| 189 |
<cocoa key="chatViews"/> |
|---|
| 190 |
</element> |
|---|
| 191 |
<element code="ccoM" type="console panel" access="r"> |
|---|
| 192 |
<cocoa key="chatConsoles"/> |
|---|
| 193 |
</element> |
|---|
| 194 |
<element code="ctrM" type="transcript panel" access="r"> |
|---|
| 195 |
<cocoa key="chatTranscripts"/> |
|---|
| 196 |
</element> |
|---|
| 197 |
<element code="dchM" type="direct chat panel" access="r"> |
|---|
| 198 |
<cocoa key="directChats"/> |
|---|
| 199 |
</element> |
|---|
| 200 |
<element code="crmM" type="chat room panel" access="r"> |
|---|
| 201 |
<cocoa key="chatRooms"/> |
|---|
| 202 |
</element> |
|---|
| 203 |
<element type="connection" access="r"> |
|---|
| 204 |
<cocoa key="chatConnections"/> |
|---|
| 205 |
</element> |
|---|
| 206 |
<element type="buddy" access="r"> |
|---|
| 207 |
<cocoa key="chatBuddies"/> |
|---|
| 208 |
</element> |
|---|
| 209 |
<element type="file transfer" access="r"> |
|---|
| 210 |
<cocoa key="fileTransfers"/> |
|---|
| 211 |
</element> |
|---|
| 212 |
|
|---|
| 213 |
<property name="name" code="pnam" description="The name of the application." type="text" access="r"/> |
|---|
| 214 |
<property name="frontmost" code="pisf" description="Is this the frontmost (active) application?" type="boolean" access="r"> |
|---|
| 215 |
<cocoa key="isActive"/> |
|---|
| 216 |
</property> |
|---|
| 217 |
<property name="version" code="vers" description="The version of the application." type="text" access="r"/> |
|---|
| 218 |
|
|---|
| 219 |
<responds-to name="open"> |
|---|
| 220 |
<cocoa method="handleOpenScriptCommand:"/> |
|---|
| 221 |
</responds-to> |
|---|
| 222 |
<responds-to name="print"> |
|---|
| 223 |
<cocoa method="handlePrintScriptCommand:"/> |
|---|
| 224 |
</responds-to> |
|---|
| 225 |
<responds-to name="quit"> |
|---|
| 226 |
<cocoa method="handleQuitScriptCommand:"/> |
|---|
| 227 |
</responds-to> |
|---|
| 228 |
<responds-to name="display new connection dialog"> |
|---|
| 229 |
<cocoa method="newConnection:"/> |
|---|
| 230 |
</responds-to> |
|---|
| 231 |
<responds-to name="add event message" hidden="yes"> |
|---|
| 232 |
<cocoa method="addEventMessageScriptCommand:"/> |
|---|
| 233 |
</responds-to> |
|---|
| 234 |
<responds-to name="send message" hidden="yes"> |
|---|
| 235 |
<cocoa method="sendMessageScriptCommand:"/> |
|---|
| 236 |
</responds-to> |
|---|
| 237 |
</class> |
|---|
| 238 |
|
|---|
| 239 |
<class name="window" code="cwin" description="A window that can contain panels."> |
|---|
| 240 |
<cocoa class="NSWindow"/> |
|---|
| 241 |
|
|---|
| 242 |
<element code="chvC" type="panel" access="r"> |
|---|
| 243 |
<cocoa key="chatViews"/> |
|---|
| 244 |
</element> |
|---|
| 245 |
<element code="ccoM" type="console panel" access="r"> |
|---|
| 246 |
<cocoa key="chatConsoles"/> |
|---|
| 247 |
</element> |
|---|
| 248 |
<element code="ctrM" type="transcript panel" access="r"> |
|---|
| 249 |
<cocoa key="chatTranscripts"/> |
|---|
| 250 |
</element> |
|---|
| 251 |
<element code="dchM" type="direct chat panel" access="r"> |
|---|
| 252 |
<cocoa key="directChats"/> |
|---|
| 253 |
</element> |
|---|
| 254 |
<element code="crmM" type="chat room panel" access="r"> |
|---|
| 255 |
<cocoa key="chatRooms"/> |
|---|
| 256 |
</element> |
|---|
| 257 |
|
|---|
| 258 |
<property name="name" code="pnam" description="The full title of the window." type="text"> |
|---|
| 259 |
<cocoa key="title"/> |
|---|
| 260 |
</property> |
|---|
| 261 |
<property name="id" code="ID " description="The unique identifier of the window." type="integer" access="r"> |
|---|
| 262 |
<cocoa key="uniqueID"/> |
|---|
| 263 |
</property> |
|---|
| 264 |
<property name="bounds" code="pbnd" description="The bounding rectangle of the window." type="rectangle"> |
|---|
| 265 |
<cocoa key="boundsAsQDRect"/> |
|---|
| 266 |
</property> |
|---|
| 267 |
<property name="closeable" code="hclb" description="Whether the window has a close box." type="boolean" access="r"> |
|---|
| 268 |
<cocoa key="hasCloseBox"/> |
|---|
| 269 |
</property> |
|---|
| 270 |
<property name="titled" code="ptit" description="Whether the window has a title bar." type="boolean" access="r"> |
|---|
| 271 |
<cocoa key="hasTitleBar"/> |
|---|
| 272 |
</property> |
|---|
| 273 |
<property name="index" code="pidx" description="The index of the window in the back-to-front window ordering." type="integer"> |
|---|
| 274 |
<cocoa key="orderedIndex"/> |
|---|
| 275 |
</property> |
|---|
| 276 |
<property name="floating" code="isfl" description="Whether the window floats." type="boolean" access="r"> |
|---|
| 277 |
<cocoa key="isFloatingPanel"/> |
|---|
| 278 |
</property> |
|---|
| 279 |
<property name="miniaturizable" code="ismn" description="Whether the window can be miniaturized." type="boolean" access="r"> |
|---|
| 280 |
<cocoa key="isMiniaturizable"/> |
|---|
| 281 |
</property> |
|---|
| 282 |
<property name="miniaturized" code="pmnd" description="Whether the window is currently miniaturized." type="boolean"> |
|---|
| 283 |
<cocoa key="isMiniaturized"/> |
|---|
| 284 |
</property> |
|---|
| 285 |
<property name="modal" code="pmod" description="Whether the window is the application'" type="boolean" access="r"> |
|---|
| 286 |
<cocoa key="isModalPanel"/> |
|---|
| 287 |
</property> |
|---|
| 288 |
<property name="resizable" code="prsz" description="Whether the window can be resized." type="boolean" access="r"> |
|---|
| 289 |
<cocoa key="isResizable"/> |
|---|
| 290 |
</property> |
|---|
| 291 |
<property name="visible" code="pvis" description="Whether the window is currently visible." type="boolean"> |
|---|
| 292 |
<cocoa key="isVisible"/> |
|---|
| 293 |
</property> |
|---|
| 294 |
<property name="zoomable" code="iszm" description="Whether the window can be zoomed." type="boolean" access="r"> |
|---|
| 295 |
<cocoa key="isZoomable"/> |
|---|
| 296 |
</property> |
|---|
| 297 |
<property name="zoomed" code="pzum" description="Whether the window is currently zoomed." type="boolean"> |
|---|
| 298 |
<cocoa key="isZoomed"/> |
|---|
| 299 |
</property> |
|---|
| 300 |
<property name="selected list item" code="SclM" description="Current selection in the drawer list." type="list item" access="r"> |
|---|
| 301 |
<cocoa key="selectedListItem"/> |
|---|
| 302 |
</property> |
|---|
| 303 |
<property name="active panel" code="AcvC" description="Current visible panel for this chat window." type="panel" access="r"> |
|---|
| 304 |
<cocoa key="activeChatViewController"/> |
|---|
| 305 |
</property> |
|---|
| 306 |
|
|---|
| 307 |
<responds-to name="close"> |
|---|
| 308 |
<cocoa method="handleCloseScriptCommand:"/> |
|---|
| 309 |
</responds-to> |
|---|
| 310 |
<responds-to name="print"> |
|---|
| 311 |
<cocoa method="handlePrintScriptCommand:"/> |
|---|
| 312 |
</responds-to> |
|---|
| 313 |
<responds-to name="save"> |
|---|
| 314 |
<cocoa method="handleSaveScriptCommand:"/> |
|---|
| 315 |
</responds-to> |
|---|
| 316 |
</class> |
|---|
| 317 |
|
|---|
| 318 |
<class name="list item" code="cliM" description="Generic chat list item that all drawer items inherit from (e.g. members, etc.)."> |
|---|
| 319 |
<cocoa class="NSObject"/> |
|---|
| 320 |
|
|---|
| 321 |
<element type="list item" access="r"> |
|---|
| 322 |
<cocoa key="children"/> |
|---|
| 323 |
</element> |
|---|
| 324 |
|
|---|
| 325 |
<property name="name" code="pnam" description="Title to show in the list." type="text" access="r"> |
|---|
| 326 |
<cocoa key="title"/> |
|---|
| 327 |
</property> |
|---|
| 328 |
<property name="subtitle" code="infA" description="Subtitle information to show when list has space." type="text" access="r"> |
|---|
| 329 |
<cocoa key="information"/> |
|---|
| 330 |
</property> |
|---|
| 331 |
<property name="enabled" code="enBA" description="Is the list item enabled?" type="boolean" access="r"> |
|---|
| 332 |
<cocoa key="isEnabled"/> |
|---|
| 333 |
</property> |
|---|
| 334 |
<property name="tooltip" code="toLA" description="The tooltip for the listem item." type="text" access="r"> |
|---|
| 335 |
<cocoa key="toolTip"/> |
|---|
| 336 |
</property> |
|---|
| 337 |
<property name="container" code="pArA" description="This list item'" type="list item" access="r"> |
|---|
| 338 |
<cocoa key="parent"/> |
|---|
| 339 |
</property> |
|---|
| 340 |
</class> |
|---|
| 341 |
|
|---|
| 342 |
<class name="panel" code="chvC" description="Generic window panel that all panels inherit from (e.g. direct chat panel, chat room panel, etc.)" inherits="list item"> |
|---|
| 343 |
<cocoa class="NSObject"/> |
|---|
| 344 |
|
|---|
| 345 |
<property name="id" code="ID " description="The unique identifier of the chat view controler." type="integer" access="r"> |
|---|
| 346 |
<cocoa key="uniqueIdentifier"/> |
|---|
| 347 |
</property> |
|---|
| 348 |
<property name="connection" code="conM" description="Connection this view uses." type="connection" access="r"/> |
|---|
| 349 |
<property name="window" code="cwin" description="Parent window." type="window" access="r"> |
|---|
| 350 |
<cocoa key="window"/> |
|---|
| 351 |
</property> |
|---|
| 352 |
<property name="description" code="idtA" description="Consicse description of the chat view and what it represents." type="text" access="r"> |
|---|
| 353 |
<cocoa key="identifier"/> |
|---|
| 354 |
</property> |
|---|
| 355 |
|
|---|
| 356 |
<responds-to name="close"> |
|---|
| 357 |
<cocoa method="close:"/> |
|---|
| 358 |
</responds-to> |
|---|
| 359 |
<responds-to name="send message" hidden="yes"> |
|---|
| 360 |
<cocoa method="sendMessageScriptCommand:"/> |
|---|
| 361 |
</responds-to> |
|---|
| 362 |
</class> |
|---|
| 363 |
|
|---|
| 364 |
<class name="transcript panel" code="ctrM" description="A log panel of some previous conversation." inherits="panel"> |
|---|
| 365 |
<cocoa class="JVChatTranscriptPanel"/> |
|---|
| 366 |
|
|---|
| 367 |
<contents name="transcript" code="traM" description="The transcript shown in the panel." type="transcript" access="r"> |
|---|
| 368 |
<cocoa method="transcript"/> |
|---|
| 369 |
</contents> |
|---|
| 370 |
</class> |
|---|
| 371 |
|
|---|
| 372 |
<class name="console panel" code="ccoM" description="Direct server console for advanced users." inherits="panel"> |
|---|
| 373 |
<cocoa class="JVChatConsolePanel"/> |
|---|
| 374 |
</class> |
|---|
| 375 |
|
|---|
| 376 |
<class name="direct chat panel" code="dchM" description="Direct (private) chat panel with another user." inherits="transcript panel"> |
|---|
| 377 |
<cocoa class="JVDirectChatPanel"/> |
|---|
| 378 |
|
|---|
| 379 |
<property name="encoding" code="eNcA" description="The encoding to use when reading and sending messages." type="encoding" access="rw"> |
|---|
| 380 |
<cocoa key="scriptTypedEncoding"/> |
|---|
| 381 |
</property> |
|---|
| 382 |
<property name="current message" code="cRmA" description="The current emssage that is being passed to plugins to process." type="message" access="r"> |
|---|
| 383 |
<cocoa key="currentMessage"/> |
|---|
| 384 |
</property> |
|---|
| 385 |
<property name="new messages waiting" code="nemA" description="The number of new messages since the panel was last active." type="integer" access="r"> |
|---|
| 386 |
<cocoa key="newMessagesWaiting"/> |
|---|
| 387 |
</property> |
|---|
| 388 |
<property name="new highlight messages waiting" code="nhmA" description="The number of new highlight messages since the panel was last active." type="integer" access="r"> |
|---|
| 389 |
<cocoa key="newHighlightMessagesWaiting"/> |
|---|
| 390 |
</property> |
|---|
| 391 |
<property name="unavailable" code="csmA" description="Can send messages?" type="boolean" access="r"> |
|---|
| 392 |
<cocoa key="cantSendMessages"/> |
|---|
| 393 |
</property> |
|---|
| 394 |
<property name="active" code="iacA" description="Is the active (visible) view?" type="boolean" access="r"> |
|---|
| 395 |
<cocoa key="isActive"/> |
|---|
| 396 |
</property> |
|---|
| 397 |
<property name="target" code="trgA" description="The user or room that we engaged in conversation with." access="r"><type type="chat user"/><type type="chat room"/></property> |
|---|
| 398 |
|
|---|
| 399 |
<responds-to name="send message"> |
|---|
| 400 |
<cocoa method="sendMessageScriptCommand:"/> |
|---|
| 401 |
</responds-to> |
|---|
| 402 |
<responds-to name="add event message"> |
|---|
| 403 |
<cocoa method=" "/> |
|---|
| 404 |
</responds-to> |
|---|
| 405 |
</class> |
|---|
| 406 |
|
|---|
| 407 |
<class name="chat room panel" code="crmM" description="Chat room panel." inherits="direct chat panel"> |
|---|
| 408 |
<cocoa class="JVChatRoomPanel"/> |
|---|
| 409 |
|
|---|
| 410 |
<element type="member" access="r"> |
|---|
| 411 |
<cocoa key="chatMembers"/> |
|---|
| 412 |
</element> |
|---|
| 413 |
</class> |
|---|
| 414 |
|
|---|
| 415 |
<class name="member" code="chmM" description="Chat room member list item represented in the drawer list." inherits="list item"> |
|---|
| 416 |
<cocoa class="JVChatRoomMember"/> |
|---|
| 417 |
|
|---|
| 418 |
<contents name="chat user" code="chUs" description="The chat user for this member. (Default subcontainer.)" type="chat user"> |
|---|
| 419 |
<cocoa method="user"/> |
|---|
| 420 |
</contents> |
|---|
| 421 |
|
|---|
| 422 |
<property name="id" code="ID " description="The unique identifier of the member. Unique even if member changes nicknames." type="integer" access="r"> |
|---|
| 423 |
<cocoa key="uniqueIdentifier"/> |
|---|
| 424 |
</property> |
|---|
| 425 |
<property name="name" code="pnam" description="Member'" type="text" access="r"> |
|---|
| 426 |
<cocoa key="nickname"/> |
|---|
| 427 |
</property> |
|---|
| 428 |
<property name="chat room panel" code="crmM" description="The chat room panel this member is part of." type="chat room panel" access="r"> |
|---|
| 429 |
<cocoa key="room"/> |
|---|
| 430 |
</property> |
|---|
| 431 |
<property name="buddy" code="budM" description="The buddy (if any) this member represents." type="buddy" access="r"> |
|---|
| 432 |
<cocoa key="buddy"/> |
|---|
| 433 |
</property> |
|---|
| 434 |
</class> |
|---|
| 435 |
|
|---|
| 436 |
<class name="buddy" code="budM" description="A buddy." plural="buddies"> |
|---|
| 437 |
<cocoa class="JVBuddy"/> |
|---|
| 438 |
|
|---|
| 439 |
<property name="id" code="ID " description="The unique identifier of the buddy. Same as the associated AddressBook entry." type="text" access="r"> |
|---|
| 440 |
<cocoa key="uniqueIdentifier"/> |
|---|
| 441 |
</property> |
|---|
| 442 |
<property name="name" code="pnam" description="The buddies full name in the user'" type="text" access="r"> |
|---|
| 443 |
<cocoa key="compositeName"/> |
|---|
| 444 |
</property> |
|---|
| 445 |
<property name="given nickname" code="gvnA" description="Given nickname from AddressBook." type="text" access="rw"> |
|---|
| 446 |
<cocoa key="givenNickname"/> |
|---|
| 447 |
</property> |
|---|
| 448 |
<property name="preferred name" code="prnA" description="Returns the user'" type="text" access="r"> |
|---|
| 449 |
<cocoa key="preferredName"/> |
|---|
| 450 |
</property> |
|---|
| 451 |
<property name="first name" code="fsnA" description="First name from AddressBook." type="text" access="rw"> |
|---|
| 452 |
<cocoa key="firstName"/> |
|---|
| 453 |
</property> |
|---|
| 454 |
<property name="last name" code="lsnA" description="Last name from AddressBook." type="text" access="rw"> |
|---|
| 455 |
<cocoa key="lastName"/> |
|---|
| 456 |
</property> |
|---|
| 457 |
<property name="idle time" code="iDlA" description="Current idle time in seconds for the active nickname." type="real" access="r"> |
|---|
| 458 |
<cocoa key="idleTime"/> |
|---|
| 459 |
</property> |
|---|
| 460 |
<property name="away message" code="aStA" description="Away message for active nickname." type="text" access="r"> |
|---|
| 461 |
<cocoa key="awayMessage"/> |
|---|
| 462 |
</property> |
|---|
| 463 |
<property name="primary email" code="pemA" description="Primary email address from AddressBook." type="text" access="rw"> |
|---|
| 464 |
<cocoa key="primaryEmail"/> |
|---|
| 465 |
</property> |
|---|
| 466 |
<property name="status" code="stsA" description="The current status of the active nickname." type="buddy status" access="r"/> |
|---|
| 467 |
</class> |
|---|
| 468 |
|
|---|
| 469 |
<class name="transcript" code="traM" description="A log of a previous conversation."> |
|---|
| 470 |
<cocoa class="JVChatTranscript"/> |
|---|
| 471 |
|
|---|
| 472 |
<element type="message"> |
|---|
| 473 |
<cocoa key="messages"/> |
|---|
| 474 |
</element> |
|---|
| 475 |
|
|---|
| 476 |
<property name="id" code="ID " description="The unique identifier of the transcript." type="integer" access="r"> |
|---|
| 477 |
<cocoa key="uniqueIdentifier"/> |
|---|
| 478 |
</property> |
|---|
| 479 |
<property name="file" code="kfil" description="The file (if any) this transcript represents." type="file"> |
|---|
| 480 |
<cocoa key="filePath"/> |
|---|
| 481 |
</property> |
|---|
| 482 |
<property name="auto save" code="atSA" description="Save any changes to disk as they occur? Always false when there is no file association." type="boolean"> |
|---|
| 483 |
<cocoa key="automaticallyWritesChangesToFile"/> |
|---|
| 484 |
</property> |
|---|
| 485 |
|
|---|
| 486 |
<responds-to name="save"> |
|---|
| 487 |
<cocoa method="saveScriptCommand:"/> |
|---|
| 488 |
</responds-to> |
|---|
| 489 |
</class> |
|---|
| 490 |
|
|---|
| 491 |
<class name="message" code="cmsM" description="A chat message."> |
|---|
| 492 |
<cocoa class="JVChatMessage"/> |
|---|
| 493 |
|
|---|
| 494 |
<contents name="body" code="maPA" description="The body of the message. (Default subcontainer.)" type="rich text"> |
|---|
| 495 |
<cocoa method="body"/> |
|---|
| 496 |
</contents> |
|---|
| 497 |
|
|---|
| 498 |
<property name="id" code="ID " description="The id of this message." type="integer" access="rw"> |
|---|
| 499 |
<cocoa key="messageNumber"/> |
|---|
| 500 |
</property> |
|---|
| 501 |
<property name="sender" code="sNdA" description="The sender of this message" type="item" access="rw"/> |
|---|
| 502 |
<property name="timestamp" code="dteA" description="The date and time this message occurred." type="date" access="rw"> |
|---|
| 503 |
<cocoa key="date"/> |
|---|
| 504 |
</property> |
|---|
| 505 |
<property name="highlighted" code="iHlt" description="Was the message highlighted for some reason?" type="boolean" access="rw"> |
|---|
| 506 |
<cocoa key="isHighlighted"/> |
|---|
| 507 |
</property> |
|---|
| 508 |
<property name="action tense" code="isAc" description="Does the message have action tense?" type="boolean" access="rw"> |
|---|
| 509 |
<cocoa key="isAction"/> |
|---|
| 510 |
</property> |
|---|
| 511 |
<property name="HTML" code="maHA" description="The message with possible HTML formatting." type="text" access="rw"> |
|---|
| 512 |
<cocoa key="bodyAsHTML"/> |
|---|
| 513 |
</property> |
|---|
| 514 |
<property name="ignore status" code="iGsA" description="If the message was ignored with one of the ignore rules." type="ignore status" access="rw"> |
|---|
| 515 |
<cocoa key="ignoreStatus"/> |
|---|
| 516 |
</property> |
|---|
| 517 |
<property name="transcript" code="traM" description="The transcript (log) this message belongs to." type="transcript" access="r"> |
|---|
| 518 |
<cocoa key="transcript"/> |
|---|
| 519 |
</property> |
|---|
| 520 |
</class> |
|---|
| 521 |
|
|---|
| 522 |
<command name="add event message" code="coRCaEvX" description="Add an event message to a chat room panel or direct chat panel. This will add a line to the display that is only visible to the local user. Defaults to the active panel of the front window if no other tell block specifies the target."> |
|---|
| 523 |
<cocoa class="JVAddEventMessageScriptCommand"/> |
|---|
| 524 |
<direct-parameter type="text" description="Message to add (visible to the user). (Plain text with HTML formatting. Must entity encode HTML special characters.)"/> |
|---|
| 525 |
<parameter name="message" code="aEv1" hidden="yes" description="Message to add. Can include HTML formatting. This parameter is deprecated, the message is now the direct parameter." type="text" optional="yes"> |
|---|
| 526 |
<cocoa key="message"/> |
|---|
| 527 |
</parameter> |
|---|
| 528 |
<parameter name="with name" code="aEv2" description="A name for this type of event message. This is not visible to the user, and should be fairly unique. Defaults to a name based on the calling script." type="text" optional="yes"> |
|---|
| 529 |
<cocoa key="name"/> |
|---|
| 530 |
</parameter> |
|---|
| 531 |
<parameter name="and attributes" code="aEv3" description="Custom information to be stored with this event message. Can be used by chat styles and is saved in transcripts." type="record" optional="yes"> |
|---|
| 532 |
<cocoa key="attributes"/> |
|---|
| 533 |
</parameter> |
|---|
| 534 |
</command> |
|---|
| 535 |
|
|---|
| 536 |
<command name="display new connection dialog" code="coRCnwcX" description="Prompts to make a new connection."> |
|---|
| 537 |
<cocoa name="newConnection"/> |
|---|
| 538 |
</command> |
|---|
| 539 |
|
|---|
| 540 |
<command name="display direct chat panel" code="coRCsChX" description="Open a direct chat panel to chat with another user. Focuses an existing panel or makes a new panel."> |
|---|
| 541 |
<cocoa class="JVStartChatScriptCommand"/> |
|---|
| 542 |
<result type="direct chat panel" description="The direct chat panel."/> |
|---|
| 543 |
<parameter name="for" code="sCh1" description="The member or chat user. You may also pass a string nickname if you also provide the connection."> |
|---|
| 544 |
<type type="member"/> |
|---|
| 545 |
<type type="chat user"/> |
|---|
| 546 |
<type type="text"/> |
|---|
| 547 |
<cocoa key="target"/> |
|---|
| 548 |
</parameter> |
|---|
| 549 |
<parameter name="on" code="sCh2" description="Only required if the user is a string. The connection where to find the user by nickname." type="connection" optional="yes"> |
|---|
| 550 |
<cocoa key="connection"/> |
|---|
| 551 |
</parameter> |
|---|
| 552 |
</command> |
|---|
| 553 |
|
|---|
| 554 |
<command name="display chat room browser" code="coRCdRbX" description="Displays a new chat room browser window. Users can select a room from an expanded browser, or type a room in manually."> |
|---|
| 555 |
<cocoa class="JVOpenRoomBrowserScriptCommand"/> |
|---|
| 556 |
<parameter name="for" code="dRb1" description="The connection to select. No selection by default." type="connection" optional="yes"> |
|---|
| 557 |
<cocoa key="connection"/> |
|---|
| 558 |
</parameter> |
|---|
| 559 |
<parameter name="with filter" code="dRb2" description="A search filter to use. No filter by default." type="text" optional="yes"> |
|---|
| 560 |
<cocoa key="filter"/> |
|---|
| 561 |
</parameter> |
|---|
| 562 |
<parameter name="expanded" code="dRb3" description="Should the browser be expanded? Default is no. The room list will be refreshed if the browser is expanded." type="boolean" optional="yes"> |
|---|
| 563 |
<cocoa key="expanded"/> |
|---|
| 564 |
</parameter> |
|---|
| 565 |
</command> |
|---|
| 566 |
</suite> |
|---|
| 567 |
|
|---|
| 568 |
<suite name="Chat Core Suite" code="ccoR" description="Classes and commands for Chat Core scripting. Chat Core is the lowest level of Colloquy and has user visible representation."> |
|---|
| 569 |
<cocoa name="ChatCore"/> |
|---|
| 570 |
|
|---|
| 571 |
<enumeration name="subcode type" code="scTE"> |
|---|
| 572 |
<enumerator name="request" code="sreQ" description="A subcode command request."/> |
|---|
| 573 |
<enumerator name="reply" code="srpL" description="A subcode command reply."/> |
|---|
| 574 |
</enumeration> |
|---|
| 575 |
|
|---|
| 576 |
<enumeration name="connection status" code="cnsE"> |
|---|
| 577 |
<enumerator name="connected" code="conD" description="Connected status."/> |
|---|
| 578 |
<enumerator name="connecting" code="conG" description="Connecting status."/> |
|---|
| 579 |
<enumerator name="disconnected" code="disC" description="Disconnected status."/> |
|---|
| 580 |
<enumerator name="suspended" code="susP" description="Suspended status."/> |
|---|
| 581 |
</enumeration> |
|---|
| 582 |
|
|---|
| 583 |
<enumeration name="user status" code="cusE"> |
|---|
| 584 |
<enumerator name="offline" code="oflN" description="Offline status."/> |
|---|
| 585 |
<enumerator name="detached" code="detA" description="Detached status."/> |
|---|
| 586 |
<enumerator name="available" code="avaL" description="Available status."/> |
|---|
| 587 |
<enumerator name="away" code="awaY" description="Away status."/> |
|---|
| 588 |
</enumeration> |
|---|
| 589 |
|
|---|
| 590 |
<enumeration name="proxy" code="pxyE"> |
|---|
| 591 |
<enumerator name="none" code="nonE" description="No proxy."/> |
|---|
| 592 |
<enumerator name="secure HTTP" code="htpS" description="Secure HTTP proxy."/> |
|---|
| 593 |
<enumerator name="SOCKS firewall" code="sokS" description="SOCKS firewall proxy."/> |
|---|
| 594 |
</enumeration> |
|---|
| 595 |
|
|---|
| 596 |
<enumeration name="encoding" code="encE"> |
|---|
| 597 |
<enumerator name="UTF8" code="utF8"/> |
|---|
| 598 |
<enumerator name="ASCII" code="ascI"/> |
|---|
| 599 |
<enumerator name="Nonlossy ASCII" code="nlAs"/> |
|---|
| 600 |
<enumerator name="ISO Latin 1" code="isL1"/> |
|---|
| 601 |
<enumerator name="ISO Latin 2" code="isL2"/> |
|---|
| 602 |
<enumerator name="ISO Latin 3" code="isL3"/> |
|---|
| 603 |
<enumerator name="ISO Latin 4" code="isL4"/> |
|---|
| 604 |
<enumerator name="ISO Latin 5" code="isL5"/> |
|---|
| 605 |
<enumerator name="ISO Latin 9" code="isL9"/> |
|---|
| 606 |
<enumerator name="Mac OS Roman" code="mcRo"/> |
|---|
| 607 |
<enumerator name="Mac OS European" code="mcEu"/> |
|---|
| 608 |
<enumerator name="Mac OS Cyrllic" code="mcCy"/> |
|---|
| 609 |
<enumerator name="Mac OS Japanese" code="mcJp"/> |
|---|
| 610 |
<enumerator name="Mac OS Simp. Chinese" code="mcSc"/> |
|---|
| 611 |
<enumerator name="Mac OS Trad. Chinese" code="mcTc"/> |
|---|
| 612 |
<enumerator name="Mac OS Korean" code="mcKr"/> |
|---|
| 613 |
<enumerator name="Windows Latin 2" code="cp50"/> |
|---|
| 614 |
<enumerator name="Windows Cyrllic" code="cp51"/> |
|---|
| 615 |
<enumerator name="Windows Latin 1" code="cp52"/> |
|---|
| 616 |
<enumerator name="Windows Simp. Chinese" code="wnSc"/> |
|---|
| 617 |
<enumerator name="Windows Trad. Chinese" code="wnTc"/> |
|---|
| 618 |
<enumerator name="Windows Korean" code="wnKr"/> |
|---|
| 619 |
<enumerator name="Japanese EUC" code="jpUC"/> |
|---|
| 620 |
<enumerator name="Simp. Chinese EUC" code="scUC"/> |
|---|
| 621 |
<enumerator name="Trad. Chinese EUC" code="tcUC"/> |
|---|
| 622 |
<enumerator name="Korean EUC" code="krUC"/> |
|---|
| 623 |
<enumerator name="KOI8R" code="ko8R"/> |
|---|
| 624 |
<enumerator name="Shift JIS" code="sJiS"/> |
|---|
| 625 |
<enumerator name="GB 18030" code="gb30"/> |
|---|
| 626 |
<enumerator name="GBK" code="gbKK"/> |
|---|
| 627 |
<enumerator name="Big 5" code="biG5"/> |
|---|
| 628 |
<enumerator name="Big 5 HKSCS" code="bG5H"/> |
|---|
| 629 |
</enumeration> |
|---|
| 630 |
|
|---|
| 631 |
<enumeration name="file transfer type" code="ftTE"> |
|---|
| 632 |
<enumerator name="upload" code="fTtU"/> |
|---|
| 633 |
<enumerator name="download" code="fTtD"/> |
|---|
| 634 |
</enumeration> |
|---|
| 635 |
|
|---|
| 636 |
<enumeration name="file transfer status" code="ftSt"> |
|---|
| 637 |
<enumerator name="done" code="trDn"/> |
|---|
| 638 |
<enumerator name="in progress" code="trNo"/> |
|---|
| 639 |
<enumerator name="waiting" code="trHo"/> |
|---|
| 640 |
&nb |
|---|