root/tags/2D14/Resources/ChatPlugIn.scriptSuite

Revision 2401, 14.5 kB (checked in by timothy, 4 years ago)

Many changes mostly related to AppleScripting.

  • Scripting should be mostly restored now. The iTunes script fully functions, and the most common scripts should.
  • Many Chat Core level scripting things have been reworked and will not be backwards compat.
  • Some Colloquy level scripting commands are missing awaiting better counterparts.
  • Fixes all the remaining Tiger GCC 4 "differ in signedness" compile warnings.
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
5         <key>AppleEventCode</key>
6         <string>cplG</string>
7         <key>Commands</key>
8         <dict>
9                 <key>BuildContextualMenuForItem</key>
10                 <dict>
11                         <key>AppleEventClassCode</key>
12                         <string>cplG</string>
13                         <key>AppleEventCode</key>
14                         <string>cMiX</string>
15                         <key>Arguments</key>
16                         <dict>
17                                 <key>view</key>
18                                 <dict>
19                                         <key>AppleEventCode</key>
20                                         <string>cMi1</string>
21                                         <key>Optional</key>
22                                         <string>YES</string>
23                                         <key>Type</key>
24                                         <string>Colloquy.Panel</string>
25                                 </dict>
26                         </dict>
27                         <key>CommandClass</key>
28                         <string>NSScriptCommand</string>
29                         <key>UnnamedArgument</key>
30                         <dict>
31                                 <key>Type</key>
32                                 <string>NSObject</string>
33                         </dict>
34                 </dict>
35                 <key>Connected</key>
36                 <dict>
37                         <key>AppleEventClassCode</key>
38                         <string>cplG</string>
39                         <key>AppleEventCode</key>
40                         <string>cTsX</string>
41                         <key>CommandClass</key>
42                         <string>NSScriptCommand</string>
43                         <key>UnnamedArgument</key>
44                         <dict>
45                                 <key>Type</key>
46                                 <string>ChatCore.MVChatConnection</string>
47                         </dict>
48                 </dict>
49                 <key>Disconnecting</key>
50                 <dict>
51                         <key>AppleEventClassCode</key>
52                         <string>cplG</string>
53                         <key>AppleEventCode</key>
54                         <string>dFsX</string>
55                         <key>CommandClass</key>
56                         <string>NSScriptCommand</string>
57                         <key>UnnamedArgument</key>
58                         <dict>
59                                 <key>Type</key>
60                                 <string>ChatCore.MVChatConnection</string>
61                         </dict>
62                 </dict>
63                 <key>HandleClickedContextualMenuItem</key>
64                 <dict>
65                         <key>AppleEventClassCode</key>
66                         <string>cplG</string>
67                         <key>AppleEventCode</key>
68                         <string>pcMX</string>
69                         <key>Arguments</key>
70                         <dict>
71                                 <key>object</key>
72                                 <dict>
73                                         <key>AppleEventCode</key>
74                                         <string>pcM1</string>
75                                         <key>Optional</key>
76                                         <string>YES</string>
77                                         <key>Type</key>
78                                         <string>NSObject</string>
79                                 </dict>
80                                 <key>submenu</key>
81                                 <dict>
82                                         <key>AppleEventCode</key>
83                                         <string>pcM2</string>
84                                         <key>Optional</key>
85                                         <string>YES</string>
86                                         <key>Type</key>
87                                         <string>NSArray</string>
88                                 </dict>
89                         </dict>
90                         <key>CommandClass</key>
91                         <string>NSScriptCommand</string>
92                         <key>UnnamedArgument</key>
93                         <dict>
94                                 <key>Type</key>
95                                 <string>NSString</string>
96                         </dict>
97                 </dict>
98                 <key>HandleClickedLink</key>
99                 <dict>
100                         <key>AppleEventClassCode</key>
101                         <string>cplG</string>
102                         <key>AppleEventCode</key>
103                         <string>hClX</string>
104                         <key>Arguments</key>
105                         <dict>
106                                 <key>view</key>
107                                 <dict>
108                                         <key>AppleEventCode</key>
109                                         <string>hCl1</string>
110                                         <key>Optional</key>
111                                         <string>YES</string>
112                                         <key>Type</key>
113                                         <string>Colloquy.Panel</string>
114                                 </dict>
115                         </dict>
116                         <key>CommandClass</key>
117                         <string>NSScriptCommand</string>
118                         <key>ResultAppleEventCode</key>
119                         <string>bool</string>
120                         <key>Type</key>
121                         <string>NSNumber&lt;Bool&gt;</string>
122                         <key>UnnamedArgument</key>
123                         <dict>
124                                 <key>Type</key>
125                                 <string>NSString</string>
126                         </dict>
127                 </dict>
128                 <key>Idle</key>
129                 <dict>
130                         <key>AppleEventClassCode</key>
131                         <string>cplG</string>
132                         <key>AppleEventCode</key>
133                         <string>iDlX</string>
134                         <key>CommandClass</key>
135                         <string>NSScriptCommand</string>
136                         <key>ResultAppleEventCode</key>
137                         <string>doub</string>
138                         <key>Type</key>
139                         <string>NSNumber&lt;Double&gt;</string>
140                 </dict>
141                 <key>JoinedChatRoom</key>
142                 <dict>
143                         <key>AppleEventClassCode</key>
144                         <string>cplG</string>
145                         <key>AppleEventCode</key>
146                         <string>jRmX</string>
147                         <key>CommandClass</key>
148                         <string>NSScriptCommand</string>
149                         <key>UnnamedArgument</key>
150                         <dict>
151                                 <key>Type</key>
152                                 <string>Colloquy.JVChatRoomPanel</string>
153                         </dict>
154                 </dict>
155                 <key>KickedFromRoom</key>
156                 <dict>
157                         <key>AppleEventClassCode</key>
158                         <string>cplG</string>
159                         <key>AppleEventCode</key>
160                         <string>kRmX</string>
161                         <key>Arguments</key>
162                         <dict>
163                                 <key>by</key>
164                                 <dict>
165                                         <key>AppleEventCode</key>
166                                         <string>kRm1</string>
167                                         <key>Optional</key>
168                                         <string>YES</string>
169                                         <key>Type</key>
170                                         <string>NSObject</string>
171                                 </dict>
172                                 <key>reason</key>
173                                 <dict>
174                                         <key>AppleEventCode</key>
175                                         <string>kRm2</string>
176                                         <key>Optional</key>
177                                         <string>YES</string>
178                                         <key>Type</key>
179                                         <string>NSString</string>
180                                 </dict>
181                         </dict>
182                         <key>CommandClass</key>
183                         <string>NSScriptCommand</string>
184                         <key>UnnamedArgument</key>
185                         <dict>
186                                 <key>Type</key>
187                                 <string>Colloquy.JVChatRoomPanel</string>
188                         </dict>
189                 </dict>
190                 <key>Load</key>
191                 <dict>
192                         <key>AppleEventClassCode</key>
193                         <string>cplG</string>
194                         <key>AppleEventCode</key>
195                         <string>lOdX</string>
196                         <key>Arguments</key>
197                         <dict>
198                                 <key>path</key>
199                                 <dict>
200                                         <key>AppleEventCode</key>
201                                         <string>lOd1</string>
202                                         <key>Optional</key>
203                                         <string>YES</string>
204                                         <key>Type</key>
205                                         <string>NSString</string>
206                                 </dict>
207                         </dict>
208                         <key>CommandClass</key>
209                         <string>NSScriptCommand</string>
210                 </dict>
211                 <key>MemberJoined</key>
212                 <dict>
213                         <key>AppleEventClassCode</key>
214                         <string>cplG</string>
215                         <key>AppleEventCode</key>
216                         <string>mJrX</string>
217                         <key>Arguments</key>
218                         <dict>
219                                 <key>room</key>
220                                 <dict>
221                                         <key>AppleEventCode</key>
222                                         <string>mJr1</string>
223                                         <key>Optional</key>
224                                         <string>YES</string>
225                                         <key>Type</key>
226                                         <string>Colloquy.JVChatRoomPanel</string>
227                                 </dict>
228                         </dict>
229                         <key>CommandClass</key>
230                         <string>NSScriptCommand</string>
231                         <key>UnnamedArgument</key>
232                         <dict>
233                                 <key>Type</key>
234                                 <string>Colloquy.JVChatRoomMember</string>
235                         </dict>
236                 </dict>
237                 <key>MemberKicked</key>
238                 <dict>
239                         <key>AppleEventClassCode</key>
240                         <string>cplG</string>
241                         <key>AppleEventCode</key>
242                         <string>mKrX</string>
243                         <key>Arguments</key>
244                         <dict>
245                                 <key>by</key>
246                                 <dict>
247                                         <key>AppleEventCode</key>
248                                         <string>mKr2</string>
249                                         <key>Optional</key>
250                                         <string>YES</string>
251                                         <key>Type</key>
252                                         <string>NSObject</string>
253                                 </dict>
254                                 <key>reason</key>
255                                 <dict>
256                                         <key>AppleEventCode</key>
257                                         <string>mKr3</string>
258                                         <key>Optional</key>
259                                         <string>YES</string>
260                                         <key>Type</key>
261                                         <string>NSString</string>
262                                 </dict>
263                                 <key>room</key>
264                                 <dict>
265                                         <key>AppleEventCode</key>
266                                         <string>mKr1</string>
267                                         <key>Optional</key>
268                                         <string>YES</string>
269                                         <key>Type</key>
270                                         <string>Colloquy.JVChatRoomPanel</string>
271                                 </dict>
272                         </dict>
273                         <key>CommandClass</key>
274                         <string>NSScriptCommand</string>
275                         <key>UnnamedArgument</key>
276                         <dict>
277                                 <key>Type</key>
278                                 <string>Colloquy.JVChatRoomMember</string>
279                         </dict>
280                 </dict>
281                 <key>MemberParted</key>
282                 <dict>
283                         <key>AppleEventClassCode</key>
284                         <string>cplG</string>
285                         <key>AppleEventCode</key>
286                         <string>mPrX</string>
287                         <key>Arguments</key>
288                         <dict>
289                                 <key>reason</key>
290                                 <dict>
291                                         <key>AppleEventCode</key>
292                                         <string>mPr2</string>
293                                         <key>Optional</key>
294                                         <string>YES</string>
295                                         <key>Type</key>
296                                         <string>NSString</string>
297                                 </dict>
298                                 <key>room</key>
299                                 <dict>
300                                         <key>AppleEventCode</key>
301                                         <string>mPr1</string>
302                                         <key>Optional</key>
303                                         <string>YES</string>
304                                         <key>Type</key>
305                                         <string>Colloquy.JVChatRoomPanel</string>
306                                 </dict>
307                         </dict>
308                         <key>CommandClass</key>
309                         <string>NSScriptCommand</string>
310                         <key>UnnamedArgument</key>
311                         <dict>
312                                 <key>Type</key>
313                                 <string>Colloquy.JVChatRoomMember</string>
314                         </dict>
315                 </dict>
316                 <key>PartingChatRoom</key>
317                 <dict>
318                         <key>AppleEventClassCode</key>
319                         <string>cplG</string>
320                         <key>AppleEventCode</key>
321                         <string>pRmX</string>
322                         <key>CommandClass</key>
323                         <string>NSScriptCommand</string>
324                         <key>UnnamedArgument</key>
325                         <dict>
326                                 <key>Type</key>
327                                 <string>Colloquy.JVChatRoomPanel</string>
328                         </dict>
329                 </dict>
330                 <key>PerformNotification</key>
331                 <dict>
332                         <key>AppleEventClassCode</key>
333                         <string>cplG</string>
334                         <key>AppleEventCode</key>
335                         <string>nOtX</string>
336                         <key>Arguments</key>
337                         <dict>
338                                 <key>context</key>
339                                 <dict>
340                                         <key>AppleEventCode</key>
341                                         <string>nOt1</string>
342                                         <key>Optional</key>
343                                         <string>YES</string>
344                                         <key>Type</key>
345                                         <string>NSDictionary</string>
346                                 </dict>
347                                 <key>preferences</key>
348                                 <dict>
349                                         <key>AppleEventCode</key>
350                                         <string>nOt2</string>
351                                         <key>Optional</key>
352                                         <string>YES</string>
353                                         <key>Type</key>
354                                         <string>NSDictionary</string>
355                                 </dict>
356                         </dict>
357                         <key>CommandClass</key>
358                         <string>NSScriptCommand</string>
359                         <key>UnnamedArgument</key>
360                         <dict>
361                                 <key>Type</key>
362                                 <string>NSString</string>
363                         </dict>
364                 </dict>
365                 <key>ProcessIncomingChatMessage</key>
366                 <dict>
367                         <key>AppleEventClassCode</key>
368                         <string>cplG</string>
369                         <key>AppleEventCode</key>
370                         <string>piMX</string>
371                         <key>Arguments</key>
372                         <dict>
373                                 <key>action</key>
374                                 <dict>
375                                         <key>AppleEventCode</key>
376                                         <string>piM1</string>
377                                         <key>Optional</key>
378                                         <string>YES</string>
379                                         <key>Type</key>
380                                         <string>NSNumber&lt;Bool&gt;</string>
381                                 </dict>
382                                 <key>user</key>
383                                 <dict>
384                                         <key>AppleEventCode</key>
385                                         <string>piM2</string>
386                                         <key>Optional</key>
387                                         <string>YES</string>
388                                         <key>Type</key>
389                                         <string>NSObject</string>
390                                 </dict>
391                                 <key>view</key>
392                                 <dict>
393                                         <key>AppleEventCode</key>
394                                         <string>piM3</string>
395                                         <key>Optional</key>
396                                         <string>YES</string>
397                                         <key>Type</key>
398                                         <string>Colloquy.JVDirectChatPanel</string>
399                                 </dict>
400                         </dict>
401                         <key>CommandClass</key>
402                         <string>NSScriptCommand</string>
403                         <key>UnnamedArgument</key>
404                         <dict>
405                                 <key>Type</key>
406                                 <string>Colloquy.JVChatMessage</string>
407                         </dict>
408                 </dict>
409                 <key>ProcessOutgoingChatMessage</key>
410                 <dict>
411                         <key>AppleEventClassCode</key>
412                         <string>cplG</string>
413                         <key>AppleEventCode</key>
414                         <string>poMX</string>
415                         <key>Arguments</key>
416                         <dict>
417                                 <key>action</key>
418                                 <dict>
419                                         <key>AppleEventCode</key>
420                                         <string>poM1</string>
421                                         <key>Optional</key>
422                                         <string>YES</string>
423                                         <key>Type</key>
424                                         <string>NSNumber&lt;Bool&gt;</string>
425                                 </dict>
426                                 <key>view</key>
427                                 <dict>
428                                         <key>AppleEventCode</key>
429                                         <string>poM2</string>
430                                         <key>Optional</key>
431                                         <string>YES</string>
432                                         <key>Type</key>
433                                         <string>Colloquy.JVDirectChatPanel</string>
434                                 </dict>
435                         </dict>
436                         <key>CommandClass</key>
437                         <string>NSScriptCommand</string>
438                         <key>UnnamedArgument</key>
439                         <dict>
440                                 <key>Type</key>
441                                 <string>Colloquy.JVChatMessage</string>
442                         </dict>
443                 </dict>
444                 <key>ProcessSubcodeReply</key>
445                 <dict>
446                         <key>AppleEventClassCode</key>
447                         <string>cplG</string>
448                         <key>AppleEventCode</key>
449                         <string>psLX</string>
450                         <key>Arguments</key>
451                         <dict>
452                                 <key>arguments</key>
453                                 <dict>
454                                         <key>AppleEventCode</key>
455                                         <string>psL1</string>
456                                         <key>Optional</key>
457                                         <string>YES</string>
458                                         <key>Type</key>
459                                         <string>NSString</string>
460                                 </dict>
461                                 <key>connection</key>
462                                 <dict>
463                                         <key>AppleEventCode</key>
464                                         <string>psL3</string>
465                                         <key>Optional</key>
466                                         <string>YES</string>
467                                         <key>Type</key>
468                                         <string>ChatCore.MVChatConnection</string>
469                                 </dict>
470                                 <key>user</key>
471                                 <dict>
472                                         <key>AppleEventCode</key>
473                                         <string>psL2</string>
474                                         <key>Optional</key>
475                                         <string>YES</string>
476                                         <key>Type</key>
477                                         <string>ChatCore.MVChatUser</string>
478                                 </dict>
479                         </dict>
480                         <key>CommandClass</key>
481                         <string>NSScriptCommand</string>
482                         <key>ResultAppleEventCode</key>
483                         <string>bool</string>
484                         <key>Type</key>
485                         <string>NSNumber&lt;Bool&gt;</string>
486                         <key>UnnamedArgument</key>
487                         <dict>
488                                 <key>Type</key>
489                                 <string>NSString</string>
490                         </dict>
491                 </dict>
492                 <key>ProcessSubcodeRequest</key>
493                 <dict>
494                         <key>AppleEventClassCode</key>
495                         <string>cplG</string>
496                         <key>AppleEventCode</key>
497                         <string>psRX</string>
498                         <key>Arguments</key>
499                         <dict>
500                                 <key>arguments</key>
501                                 <dict>
502                                         <key>AppleEventCode</key>
503                                         <string>psR1</string>
504                                         <key>Optional</key>
505                                         <string>YES</string>
506                                         <key>Type</key>
507                                         <string>NSString</string>
508                                 </dict>
509                                 <key>connection</key>
510                                 <dict>
511                                         <key>AppleEventCode</key>
512                                         <string>psR3</string>
513                                         <key>Optional</key>
514                                         <string>YES</string>
515                                         <key>Type</key>
516                                         <string>ChatCore.MVChatConnection</string>
517                                 </dict>
518                                 <key>user</key>
519                                 <dict>
520                                         <key>AppleEventCode</key>
521                                         <string>psR2</string>
522                                         <key>Optional</key>
523                                         <string>YES</string>
524                                         <key>Type</key>
525                                         <string>ChatCore.MVChatUser</string>
526                                 </dict>
527                         </dict>
528                         <key>CommandClass</key>
529                         <string>NSScriptCommand</string>
530                         <key>ResultAppleEventCode</key>
531                         <string>bool</string>
532                         <key>Type</key>
533                         <string>NSNumber&lt;Bool&gt;</string>
534                         <key>UnnamedArgument</key>
535                         <dict>
536                                 <key>Type</key>
537                                 <string>NSString</string>
538                         </dict>
539                 </dict>
540                 <key>ProcessUserCommand</key>
541                 <dict>
542                         <key>AppleEventClassCode</key>
543                         <string>cplG</string>
544                         <key>AppleEventCode</key>
545                         <string>pcCX</string>
546                         <key>Arguments</key>
547                         <dict>
548                                 <key>arguments</key>
549                                 <dict>
550                                         <key>AppleEventCode</key>
551                                         <string>pcC1</string>
552                                         <key>Optional</key>
553                                         <string>YES</string>
554                                         <key>Type</key>
555                                         <string>NSString</string>
556                                 </dict>
557                                 <key>view</key>
558                                 <dict>
559                                         <key>AppleEventCode</key>
560                                         <string>pcC2</string>
561                                         <key>Optional</key>
562                                         <string>YES</string>
563                                         <key>Type</key>
564                                         <string>Colloquy.Panel</string>
565                                 </dict>
566                         </dict>
567                         <key>CommandClass</key>
568                         <string>NSScriptCommand</string>
569                         <key>ResultAppleEventCode</key>
570                         <string>bool</string>
571                         <key>Type</key>
572                         <string>NSNumber&lt;Bool&gt;</string>
573                         <key>UnnamedArgument</key>
574                         <dict>
575                                 <key>Type</key>
576                                 <string>NSString</string>
577                         </dict>
578                 </dict>
579                 <key>TopicChanged</key>
580                 <dict>
581                         <key>AppleEventClassCode</key>
582                         <string>cplG</string>
583                         <key>AppleEventCode</key>
584                         <string>rTcX</string>
585                         <key>Arguments</key>
586                         <dict>
587                                 <key>by</key>
588                                 <dict>
589                                         <key>AppleEventCode</key>
590                                         <string>rTc2</string>
591                                         <key>Optional</key>
592                                         <string>YES</string>
593                                         <key>Type</key>
594                                         <string>NSObject</string>
595                                 </dict>
596                                 <key>room</key>
597                                 <dict>
598                                         <key>AppleEventCode</key>
599                                         <string>rTc3</string>
600                                         <key>Optional</key>
601                                         <string>YES</string>
602                                         <key>Type</key>
603                                         <string>Colloquy.JVChatRoomPanel</string>
604                                 </dict>
605                                 <key>topic</key>
606                                 <dict>
607                                         <key>AppleEventCode</key>
608                                         <string>rTc1</string>
609                                         <key>Optional</key>
610                                         <string>YES</string>
611                                         <key>Type</key>
612                                         <string>NSString</string>
613                                 </dict>
614                         </dict>
615                         <key>CommandClass</key>
616                         <string>NSScriptCommand</string>
617                 </dict>
618                 <key>Unload</key>
619                 <dict>
620                         <key>AppleEventClassCode</key>
621                         <string>cplG</string>
622                         <key>AppleEventCode</key>
623                         <string>uldX</string>
624                         <key>CommandClass</key>
625                         <string>NSScriptCommand</string>
626                 </dict>
627         </dict>
628         <key>Name</key>
629         <string>ChatPlugIn</string>
630         <key>UsedFeatures</key>
631         <array>
632                 <string>UnnamedArguments</string>
633         </array>
634 </dict>
635 </plist>
Note: See TracBrowser for help on using the browser.