]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/python/contrib/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py
Inital import
[l4.git] / l4 / pkg / python / contrib / Lib / plat-mac / lib-scriptpackages / StdSuites / AppleScript_Suite.py
1 """Suite AppleScript Suite: Standard terms for AppleScript
2 Level 1, version 1
3
4 Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
5 AETE/AEUT resource version 1/0, language 0, script 0
6 """
7
8 import aetools
9 import MacOS
10
11 _code = 'ascr'
12
13 class AppleScript_Suite_Events:
14
15     def _26_(self, _object, _attributes={}, **_arguments):
16         """&: Concatenation
17         Required argument: an AE object reference
18         Keyword argument _attributes: AppleEvent attribute dictionary
19         Returns: anything
20         """
21         _code = 'ascr'
22         _subcode = 'ccat'
23
24         if _arguments: raise TypeError, 'No optional args expected'
25         _arguments['----'] = _object
26
27
28         _reply, _arguments, _attributes = self.send(_code, _subcode,
29                 _arguments, _attributes)
30         if _arguments.get('errn', 0):
31             raise aetools.Error, aetools.decodeerror(_arguments)
32         # XXXX Optionally decode result
33         if _arguments.has_key('----'):
34             return _arguments['----']
35
36     def _2a_(self, _object, _attributes={}, **_arguments):
37         """*: Multiplication
38         Required argument: an AE object reference
39         Keyword argument _attributes: AppleEvent attribute dictionary
40         Returns: anything
41         """
42         _code = 'ascr'
43         _subcode = '*   '
44
45         if _arguments: raise TypeError, 'No optional args expected'
46         _arguments['----'] = _object
47
48
49         _reply, _arguments, _attributes = self.send(_code, _subcode,
50                 _arguments, _attributes)
51         if _arguments.get('errn', 0):
52             raise aetools.Error, aetools.decodeerror(_arguments)
53         # XXXX Optionally decode result
54         if _arguments.has_key('----'):
55             return _arguments['----']
56
57     def _2b_(self, _object, _attributes={}, **_arguments):
58         """+: Addition
59         Required argument: an AE object reference
60         Keyword argument _attributes: AppleEvent attribute dictionary
61         Returns: anything
62         """
63         _code = 'ascr'
64         _subcode = '+   '
65
66         if _arguments: raise TypeError, 'No optional args expected'
67         _arguments['----'] = _object
68
69
70         _reply, _arguments, _attributes = self.send(_code, _subcode,
71                 _arguments, _attributes)
72         if _arguments.get('errn', 0):
73             raise aetools.Error, aetools.decodeerror(_arguments)
74         # XXXX Optionally decode result
75         if _arguments.has_key('----'):
76             return _arguments['----']
77
78     def _2d_(self, _object, _attributes={}, **_arguments):
79         """-: Subtraction
80         Required argument: an AE object reference
81         Keyword argument _attributes: AppleEvent attribute dictionary
82         Returns: anything
83         """
84         _code = 'ascr'
85         _subcode = '-   '
86
87         if _arguments: raise TypeError, 'No optional args expected'
88         _arguments['----'] = _object
89
90
91         _reply, _arguments, _attributes = self.send(_code, _subcode,
92                 _arguments, _attributes)
93         if _arguments.get('errn', 0):
94             raise aetools.Error, aetools.decodeerror(_arguments)
95         # XXXX Optionally decode result
96         if _arguments.has_key('----'):
97             return _arguments['----']
98
99     def _3c_(self, _object, _attributes={}, **_arguments):
100         """<: Less than
101         Required argument: an AE object reference
102         Keyword argument _attributes: AppleEvent attribute dictionary
103         Returns: anything
104         """
105         _code = 'ascr'
106         _subcode = '<   '
107
108         if _arguments: raise TypeError, 'No optional args expected'
109         _arguments['----'] = _object
110
111
112         _reply, _arguments, _attributes = self.send(_code, _subcode,
113                 _arguments, _attributes)
114         if _arguments.get('errn', 0):
115             raise aetools.Error, aetools.decodeerror(_arguments)
116         # XXXX Optionally decode result
117         if _arguments.has_key('----'):
118             return _arguments['----']
119
120     def _3d_(self, _object, _attributes={}, **_arguments):
121         """=: Equality
122         Required argument: an AE object reference
123         Keyword argument _attributes: AppleEvent attribute dictionary
124         Returns: anything
125         """
126         _code = 'ascr'
127         _subcode = '=   '
128
129         if _arguments: raise TypeError, 'No optional args expected'
130         _arguments['----'] = _object
131
132
133         _reply, _arguments, _attributes = self.send(_code, _subcode,
134                 _arguments, _attributes)
135         if _arguments.get('errn', 0):
136             raise aetools.Error, aetools.decodeerror(_arguments)
137         # XXXX Optionally decode result
138         if _arguments.has_key('----'):
139             return _arguments['----']
140
141     def _3e_(self, _object, _attributes={}, **_arguments):
142         """>: Greater than
143         Required argument: an AE object reference
144         Keyword argument _attributes: AppleEvent attribute dictionary
145         Returns: anything
146         """
147         _code = 'ascr'
148         _subcode = '>   '
149
150         if _arguments: raise TypeError, 'No optional args expected'
151         _arguments['----'] = _object
152
153
154         _reply, _arguments, _attributes = self.send(_code, _subcode,
155                 _arguments, _attributes)
156         if _arguments.get('errn', 0):
157             raise aetools.Error, aetools.decodeerror(_arguments)
158         # XXXX Optionally decode result
159         if _arguments.has_key('----'):
160             return _arguments['----']
161
162     _argmap_Call_a5_subroutine = {
163         'at' : 'at  ',
164         'from_' : 'from',
165         'for_' : 'for ',
166         'to' : 'to  ',
167         'thru' : 'thru',
168         'through' : 'thgh',
169         'by' : 'by  ',
170         'on' : 'on  ',
171         'into' : 'into',
172         'onto' : 'onto',
173         'between' : 'btwn',
174         'against' : 'agst',
175         'out_of' : 'outo',
176         'instead_of' : 'isto',
177         'aside_from' : 'asdf',
178         'around' : 'arnd',
179         'beside' : 'bsid',
180         'beneath' : 'bnth',
181         'under' : 'undr',
182         'over' : 'over',
183         'above' : 'abve',
184         'below' : 'belw',
185         'apart_from' : 'aprt',
186         'about' : 'abou',
187         'since' : 'snce',
188         'given' : 'givn',
189         'with' : 'with',
190         'without' : 'wout',
191     }
192
193     def Call_a5_subroutine(self, _object=None, _attributes={}, **_arguments):
194         """Call\xa5subroutine: A subroutine call
195         Required argument: anything
196         Keyword argument at: a preposition
197         Keyword argument from_: a preposition
198         Keyword argument for_: a preposition
199         Keyword argument to: a preposition
200         Keyword argument thru: a preposition
201         Keyword argument through: a preposition
202         Keyword argument by: a preposition
203         Keyword argument on: a preposition
204         Keyword argument into: a preposition
205         Keyword argument onto: a preposition
206         Keyword argument between: a preposition
207         Keyword argument against: a preposition
208         Keyword argument out_of: a preposition
209         Keyword argument instead_of: a preposition
210         Keyword argument aside_from: a preposition
211         Keyword argument around: a preposition
212         Keyword argument beside: a preposition
213         Keyword argument beneath: a preposition
214         Keyword argument under: a preposition
215         Keyword argument over: a preposition
216         Keyword argument above: a preposition
217         Keyword argument below: a preposition
218         Keyword argument apart_from: a preposition
219         Keyword argument about: a preposition
220         Keyword argument since: a preposition
221         Keyword argument given: parameter:value pairs, comma-separated
222         Keyword argument with: formal parameter set to true if matching actual parameter is provided
223         Keyword argument without: formal parameter set to false if matching actual parmeter is provided
224         Keyword argument _attributes: AppleEvent attribute dictionary
225         Returns: anything
226         """
227         _code = 'ascr'
228         _subcode = 'psbr'
229
230         aetools.keysubst(_arguments, self._argmap_Call_a5_subroutine)
231         _arguments['----'] = _object
232
233
234         _reply, _arguments, _attributes = self.send(_code, _subcode,
235                 _arguments, _attributes)
236         if _arguments.get('errn', 0):
237             raise aetools.Error, aetools.decodeerror(_arguments)
238         # XXXX Optionally decode result
239         if _arguments.has_key('----'):
240             return _arguments['----']
241
242     def _5e_(self, _object, _attributes={}, **_arguments):
243         """^: Exponentiation
244         Required argument: an AE object reference
245         Keyword argument _attributes: AppleEvent attribute dictionary
246         Returns: anything
247         """
248         _code = 'ascr'
249         _subcode = '^   '
250
251         if _arguments: raise TypeError, 'No optional args expected'
252         _arguments['----'] = _object
253
254
255         _reply, _arguments, _attributes = self.send(_code, _subcode,
256                 _arguments, _attributes)
257         if _arguments.get('errn', 0):
258             raise aetools.Error, aetools.decodeerror(_arguments)
259         # XXXX Optionally decode result
260         if _arguments.has_key('----'):
261             return _arguments['----']
262
263     def activate(self, _no_object=None, _attributes={}, **_arguments):
264         """activate: Bring the targeted application program to the front
265         Keyword argument _attributes: AppleEvent attribute dictionary
266         """
267         _code = 'misc'
268         _subcode = 'actv'
269
270         if _arguments: raise TypeError, 'No optional args expected'
271         if _no_object is not None: raise TypeError, 'No direct arg expected'
272
273
274         _reply, _arguments, _attributes = self.send(_code, _subcode,
275                 _arguments, _attributes)
276         if _arguments.get('errn', 0):
277             raise aetools.Error, aetools.decodeerror(_arguments)
278         # XXXX Optionally decode result
279         if _arguments.has_key('----'):
280             return _arguments['----']
281
282     def and_(self, _object, _attributes={}, **_arguments):
283         """and: Logical conjunction
284         Required argument: an AE object reference
285         Keyword argument _attributes: AppleEvent attribute dictionary
286         Returns: anything
287         """
288         _code = 'ascr'
289         _subcode = 'AND '
290
291         if _arguments: raise TypeError, 'No optional args expected'
292         _arguments['----'] = _object
293
294
295         _reply, _arguments, _attributes = self.send(_code, _subcode,
296                 _arguments, _attributes)
297         if _arguments.get('errn', 0):
298             raise aetools.Error, aetools.decodeerror(_arguments)
299         # XXXX Optionally decode result
300         if _arguments.has_key('----'):
301             return _arguments['----']
302
303     def as_(self, _object, _attributes={}, **_arguments):
304         """as: Coercion
305         Required argument: an AE object reference
306         Keyword argument _attributes: AppleEvent attribute dictionary
307         Returns: anything
308         """
309         _code = 'ascr'
310         _subcode = 'coer'
311
312         if _arguments: raise TypeError, 'No optional args expected'
313         _arguments['----'] = _object
314
315
316         _reply, _arguments, _attributes = self.send(_code, _subcode,
317                 _arguments, _attributes)
318         if _arguments.get('errn', 0):
319             raise aetools.Error, aetools.decodeerror(_arguments)
320         # XXXX Optionally decode result
321         if _arguments.has_key('----'):
322             return _arguments['----']
323
324     def contains(self, _object, _attributes={}, **_arguments):
325         """contains: Containment
326         Required argument: an AE object reference
327         Keyword argument _attributes: AppleEvent attribute dictionary
328         Returns: anything
329         """
330         _code = 'ascr'
331         _subcode = 'cont'
332
333         if _arguments: raise TypeError, 'No optional args expected'
334         _arguments['----'] = _object
335
336
337         _reply, _arguments, _attributes = self.send(_code, _subcode,
338                 _arguments, _attributes)
339         if _arguments.get('errn', 0):
340             raise aetools.Error, aetools.decodeerror(_arguments)
341         # XXXX Optionally decode result
342         if _arguments.has_key('----'):
343             return _arguments['----']
344
345     def div(self, _object, _attributes={}, **_arguments):
346         """div: Quotient
347         Required argument: an AE object reference
348         Keyword argument _attributes: AppleEvent attribute dictionary
349         Returns: anything
350         """
351         _code = 'ascr'
352         _subcode = 'div '
353
354         if _arguments: raise TypeError, 'No optional args expected'
355         _arguments['----'] = _object
356
357
358         _reply, _arguments, _attributes = self.send(_code, _subcode,
359                 _arguments, _attributes)
360         if _arguments.get('errn', 0):
361             raise aetools.Error, aetools.decodeerror(_arguments)
362         # XXXX Optionally decode result
363         if _arguments.has_key('----'):
364             return _arguments['----']
365
366     def end_tell(self, _no_object=None, _attributes={}, **_arguments):
367         """end tell: Record or log an \xd4end tell\xd5 statement
368         Keyword argument _attributes: AppleEvent attribute dictionary
369         """
370         _code = 'ascr'
371         _subcode = 'tend'
372
373         if _arguments: raise TypeError, 'No optional args expected'
374         if _no_object is not None: raise TypeError, 'No direct arg expected'
375
376
377         _reply, _arguments, _attributes = self.send(_code, _subcode,
378                 _arguments, _attributes)
379         if _arguments.get('errn', 0):
380             raise aetools.Error, aetools.decodeerror(_arguments)
381         # XXXX Optionally decode result
382         if _arguments.has_key('----'):
383             return _arguments['----']
384
385     def ends_with(self, _object, _attributes={}, **_arguments):
386         """ends with: Ends with
387         Required argument: an AE object reference
388         Keyword argument _attributes: AppleEvent attribute dictionary
389         Returns: anything
390         """
391         _code = 'ascr'
392         _subcode = 'ends'
393
394         if _arguments: raise TypeError, 'No optional args expected'
395         _arguments['----'] = _object
396
397
398         _reply, _arguments, _attributes = self.send(_code, _subcode,
399                 _arguments, _attributes)
400         if _arguments.get('errn', 0):
401             raise aetools.Error, aetools.decodeerror(_arguments)
402         # XXXX Optionally decode result
403         if _arguments.has_key('----'):
404             return _arguments['----']
405
406     _argmap_error = {
407         'number' : 'errn',
408         'partial_result' : 'ptlr',
409         'from_' : 'erob',
410         'to' : 'errt',
411     }
412
413     def error(self, _object=None, _attributes={}, **_arguments):
414         """error: Raise an error
415         Required argument: anything
416         Keyword argument number: an error number
417         Keyword argument partial_result: any partial result occurring before the error
418         Keyword argument from_: the object that caused the error
419         Keyword argument to: the desired class for a failed coercion
420         Keyword argument _attributes: AppleEvent attribute dictionary
421         """
422         _code = 'ascr'
423         _subcode = 'err '
424
425         aetools.keysubst(_arguments, self._argmap_error)
426         _arguments['----'] = _object
427
428
429         _reply, _arguments, _attributes = self.send(_code, _subcode,
430                 _arguments, _attributes)
431         if _arguments.get('errn', 0):
432             raise aetools.Error, aetools.decodeerror(_arguments)
433         # XXXX Optionally decode result
434         if _arguments.has_key('----'):
435             return _arguments['----']
436
437     def idle(self, _no_object=None, _attributes={}, **_arguments):
438         """idle: Sent to a script application when it is idle
439         Keyword argument _attributes: AppleEvent attribute dictionary
440         Returns: the number of seconds to wait for next idle event
441         """
442         _code = 'misc'
443         _subcode = 'idle'
444
445         if _arguments: raise TypeError, 'No optional args expected'
446         if _no_object is not None: raise TypeError, 'No direct arg expected'
447
448
449         _reply, _arguments, _attributes = self.send(_code, _subcode,
450                 _arguments, _attributes)
451         if _arguments.get('errn', 0):
452             raise aetools.Error, aetools.decodeerror(_arguments)
453         # XXXX Optionally decode result
454         if _arguments.has_key('----'):
455             return _arguments['----']
456
457     def launch(self, _no_object=None, _attributes={}, **_arguments):
458         """launch: Start an application for scripting
459         Keyword argument _attributes: AppleEvent attribute dictionary
460         """
461         _code = 'ascr'
462         _subcode = 'noop'
463
464         if _arguments: raise TypeError, 'No optional args expected'
465         if _no_object is not None: raise TypeError, 'No direct arg expected'
466
467
468         _reply, _arguments, _attributes = self.send(_code, _subcode,
469                 _arguments, _attributes)
470         if _arguments.get('errn', 0):
471             raise aetools.Error, aetools.decodeerror(_arguments)
472         # XXXX Optionally decode result
473         if _arguments.has_key('----'):
474             return _arguments['----']
475
476     def log(self, _object, _attributes={}, **_arguments):
477         """log: Cause a comment to be logged
478         Required argument: undocumented, typecode 'TEXT'
479         Keyword argument _attributes: AppleEvent attribute dictionary
480         """
481         _code = 'ascr'
482         _subcode = 'cmnt'
483
484         if _arguments: raise TypeError, 'No optional args expected'
485         _arguments['----'] = _object
486
487
488         _reply, _arguments, _attributes = self.send(_code, _subcode,
489                 _arguments, _attributes)
490         if _arguments.get('errn', 0):
491             raise aetools.Error, aetools.decodeerror(_arguments)
492         # XXXX Optionally decode result
493         if _arguments.has_key('----'):
494             return _arguments['----']
495
496     def mod(self, _object, _attributes={}, **_arguments):
497         """mod: Remainder
498         Required argument: an AE object reference
499         Keyword argument _attributes: AppleEvent attribute dictionary
500         Returns: anything
501         """
502         _code = 'ascr'
503         _subcode = 'mod '
504
505         if _arguments: raise TypeError, 'No optional args expected'
506         _arguments['----'] = _object
507
508
509         _reply, _arguments, _attributes = self.send(_code, _subcode,
510                 _arguments, _attributes)
511         if _arguments.get('errn', 0):
512             raise aetools.Error, aetools.decodeerror(_arguments)
513         # XXXX Optionally decode result
514         if _arguments.has_key('----'):
515             return _arguments['----']
516
517     def negate(self, _object, _attributes={}, **_arguments):
518         """negate: Numeric negation
519         Required argument: an AE object reference
520         Keyword argument _attributes: AppleEvent attribute dictionary
521         Returns: anything
522         """
523         _code = 'ascr'
524         _subcode = 'neg '
525
526         if _arguments: raise TypeError, 'No optional args expected'
527         _arguments['----'] = _object
528
529
530         _reply, _arguments, _attributes = self.send(_code, _subcode,
531                 _arguments, _attributes)
532         if _arguments.get('errn', 0):
533             raise aetools.Error, aetools.decodeerror(_arguments)
534         # XXXX Optionally decode result
535         if _arguments.has_key('----'):
536             return _arguments['----']
537
538     def not_(self, _object, _attributes={}, **_arguments):
539         """not: Logical negation
540         Required argument: an AE object reference
541         Keyword argument _attributes: AppleEvent attribute dictionary
542         Returns: anything
543         """
544         _code = 'ascr'
545         _subcode = 'NOT '
546
547         if _arguments: raise TypeError, 'No optional args expected'
548         _arguments['----'] = _object
549
550
551         _reply, _arguments, _attributes = self.send(_code, _subcode,
552                 _arguments, _attributes)
553         if _arguments.get('errn', 0):
554             raise aetools.Error, aetools.decodeerror(_arguments)
555         # XXXX Optionally decode result
556         if _arguments.has_key('----'):
557             return _arguments['----']
558
559     def or_(self, _object, _attributes={}, **_arguments):
560         """or: Logical disjunction
561         Required argument: an AE object reference
562         Keyword argument _attributes: AppleEvent attribute dictionary
563         Returns: anything
564         """
565         _code = 'ascr'
566         _subcode = 'OR  '
567
568         if _arguments: raise TypeError, 'No optional args expected'
569         _arguments['----'] = _object
570
571
572         _reply, _arguments, _attributes = self.send(_code, _subcode,
573                 _arguments, _attributes)
574         if _arguments.get('errn', 0):
575             raise aetools.Error, aetools.decodeerror(_arguments)
576         # XXXX Optionally decode result
577         if _arguments.has_key('----'):
578             return _arguments['----']
579
580     def start_log(self, _no_object=None, _attributes={}, **_arguments):
581         """start log: Start event logging in the script editor
582         Keyword argument _attributes: AppleEvent attribute dictionary
583         """
584         _code = 'ToyS'
585         _subcode = 'log1'
586
587         if _arguments: raise TypeError, 'No optional args expected'
588         if _no_object is not None: raise TypeError, 'No direct arg expected'
589
590
591         _reply, _arguments, _attributes = self.send(_code, _subcode,
592                 _arguments, _attributes)
593         if _arguments.get('errn', 0):
594             raise aetools.Error, aetools.decodeerror(_arguments)
595         # XXXX Optionally decode result
596         if _arguments.has_key('----'):
597             return _arguments['----']
598
599     def starts_with(self, _object, _attributes={}, **_arguments):
600         """starts with: Starts with
601         Required argument: an AE object reference
602         Keyword argument _attributes: AppleEvent attribute dictionary
603         Returns: anything
604         """
605         _code = 'ascr'
606         _subcode = 'bgwt'
607
608         if _arguments: raise TypeError, 'No optional args expected'
609         _arguments['----'] = _object
610
611
612         _reply, _arguments, _attributes = self.send(_code, _subcode,
613                 _arguments, _attributes)
614         if _arguments.get('errn', 0):
615             raise aetools.Error, aetools.decodeerror(_arguments)
616         # XXXX Optionally decode result
617         if _arguments.has_key('----'):
618             return _arguments['----']
619
620     def stop_log(self, _no_object=None, _attributes={}, **_arguments):
621         """stop log: Stop event logging in the script editor
622         Keyword argument _attributes: AppleEvent attribute dictionary
623         """
624         _code = 'ToyS'
625         _subcode = 'log0'
626
627         if _arguments: raise TypeError, 'No optional args expected'
628         if _no_object is not None: raise TypeError, 'No direct arg expected'
629
630
631         _reply, _arguments, _attributes = self.send(_code, _subcode,
632                 _arguments, _attributes)
633         if _arguments.get('errn', 0):
634             raise aetools.Error, aetools.decodeerror(_arguments)
635         # XXXX Optionally decode result
636         if _arguments.has_key('----'):
637             return _arguments['----']
638
639     def tell(self, _no_object=None, _attributes={}, **_arguments):
640         """tell: Record or log a \xd4tell\xd5 statement
641         Keyword argument _attributes: AppleEvent attribute dictionary
642         """
643         _code = 'ascr'
644         _subcode = 'tell'
645
646         if _arguments: raise TypeError, 'No optional args expected'
647         if _no_object is not None: raise TypeError, 'No direct arg expected'
648
649
650         _reply, _arguments, _attributes = self.send(_code, _subcode,
651                 _arguments, _attributes)
652         if _arguments.get('errn', 0):
653             raise aetools.Error, aetools.decodeerror(_arguments)
654         # XXXX Optionally decode result
655         if _arguments.has_key('----'):
656             return _arguments['----']
657
658     def _ad_(self, _object, _attributes={}, **_arguments):
659         """\xad: Inequality
660         Required argument: an AE object reference
661         Keyword argument _attributes: AppleEvent attribute dictionary
662         Returns: anything
663         """
664         _code = 'ascr'
665         _subcode = '\xad   '
666
667         if _arguments: raise TypeError, 'No optional args expected'
668         _arguments['----'] = _object
669
670
671         _reply, _arguments, _attributes = self.send(_code, _subcode,
672                 _arguments, _attributes)
673         if _arguments.get('errn', 0):
674             raise aetools.Error, aetools.decodeerror(_arguments)
675         # XXXX Optionally decode result
676         if _arguments.has_key('----'):
677             return _arguments['----']
678
679     def _b2_(self, _object, _attributes={}, **_arguments):
680         """\xb2: Less than or equal to
681         Required argument: an AE object reference
682         Keyword argument _attributes: AppleEvent attribute dictionary
683         Returns: anything
684         """
685         _code = 'ascr'
686         _subcode = '<=  '
687
688         if _arguments: raise TypeError, 'No optional args expected'
689         _arguments['----'] = _object
690
691
692         _reply, _arguments, _attributes = self.send(_code, _subcode,
693                 _arguments, _attributes)
694         if _arguments.get('errn', 0):
695             raise aetools.Error, aetools.decodeerror(_arguments)
696         # XXXX Optionally decode result
697         if _arguments.has_key('----'):
698             return _arguments['----']
699
700     def _b3_(self, _object, _attributes={}, **_arguments):
701         """\xb3: Greater than or equal to
702         Required argument: an AE object reference
703         Keyword argument _attributes: AppleEvent attribute dictionary
704         Returns: anything
705         """
706         _code = 'ascr'
707         _subcode = '>=  '
708
709         if _arguments: raise TypeError, 'No optional args expected'
710         _arguments['----'] = _object
711
712
713         _reply, _arguments, _attributes = self.send(_code, _subcode,
714                 _arguments, _attributes)
715         if _arguments.get('errn', 0):
716             raise aetools.Error, aetools.decodeerror(_arguments)
717         # XXXX Optionally decode result
718         if _arguments.has_key('----'):
719             return _arguments['----']
720
721     def _d6_(self, _object, _attributes={}, **_arguments):
722         """\xd6: Division
723         Required argument: an AE object reference
724         Keyword argument _attributes: AppleEvent attribute dictionary
725         Returns: anything
726         """
727         _code = 'ascr'
728         _subcode = '/   '
729
730         if _arguments: raise TypeError, 'No optional args expected'
731         _arguments['----'] = _object
732
733
734         _reply, _arguments, _attributes = self.send(_code, _subcode,
735                 _arguments, _attributes)
736         if _arguments.get('errn', 0):
737             raise aetools.Error, aetools.decodeerror(_arguments)
738         # XXXX Optionally decode result
739         if _arguments.has_key('----'):
740             return _arguments['----']
741
742
743 class anything(aetools.ComponentItem):
744     """anything - any class or reference """
745     want = '****'
746
747 class pictures(aetools.ComponentItem):
748     """pictures -  """
749     want = 'PICT'
750
751 picture = pictures
752
753 class styled_text(aetools.ComponentItem):
754     """styled text - text with font, size, and style information """
755     want = 'STXT'
756
757 styled_text = styled_text
758
759 class strings(aetools.ComponentItem):
760     """strings -  """
761     want = 'TEXT'
762
763 string = strings
764
765 class alias(aetools.ComponentItem):
766     """alias - a file on a disk or server.  The file must exist when you check the syntax of your script. """
767     want = 'alis'
768 class _Prop_POSIX_path(aetools.NProperty):
769     """POSIX path - the POSIX path of the file """
770     which = 'psxp'
771     want = 'TEXT'
772
773 aliases = alias
774
775 class April(aetools.ComponentItem):
776     """April - the month of April """
777     want = 'apr '
778
779 class August(aetools.ComponentItem):
780     """August - the month of August """
781     want = 'aug '
782
783 class booleans(aetools.ComponentItem):
784     """booleans -  """
785     want = 'bool'
786
787 boolean = booleans
788
789 class RGB_colors(aetools.ComponentItem):
790     """RGB colors -  """
791     want = 'cRGB'
792
793 RGB_color = RGB_colors
794
795 class application(aetools.ComponentItem):
796     """application - specifies global properties of AppleScript """
797     want = 'capp'
798 class _Prop_AppleScript(aetools.NProperty):
799     """AppleScript - the top-level script object """
800     which = 'ascr'
801     want = 'scpt'
802 AppleScript = _Prop_AppleScript()
803 class _Prop_days(aetools.NProperty):
804     """days - the number of seconds in a day """
805     which = 'days'
806     want = 'long'
807 days = _Prop_days()
808 class _Prop_hours(aetools.NProperty):
809     """hours - the number of seconds in an hour """
810     which = 'hour'
811     want = 'long'
812 hours = _Prop_hours()
813 class _Prop_minutes(aetools.NProperty):
814     """minutes - the number of seconds in a minute """
815     which = 'min '
816     want = 'long'
817 minutes = _Prop_minutes()
818 class _Prop_pi(aetools.NProperty):
819     """pi - the constant pi """
820     which = 'pi  '
821     want = 'doub'
822 pi = _Prop_pi()
823 class _Prop_print_depth(aetools.NProperty):
824     """print depth - the maximum depth to print """
825     which = 'prdp'
826     want = 'long'
827 print_depth = _Prop_print_depth()
828 class _Prop_print_length(aetools.NProperty):
829     """print length - the maximum length to print """
830     which = 'prln'
831     want = 'long'
832 print_length = _Prop_print_length()
833 class _Prop_result(aetools.NProperty):
834     """result - the last result of evaluation """
835     which = 'rslt'
836     want = '****'
837 result = _Prop_result()
838 class _Prop_return_(aetools.NProperty):
839     """return - a return character """
840     which = 'ret '
841     want = 'cha '
842 return_ = _Prop_return_()
843 class _Prop_space(aetools.NProperty):
844     """space - a space character """
845     which = 'spac'
846     want = 'cha '
847 space = _Prop_space()
848 class _Prop_tab(aetools.NProperty):
849     """tab - a tab character """
850     which = 'tab '
851     want = 'cha '
852 tab = _Prop_tab()
853 class _Prop_text_item_delimiters(aetools.NProperty):
854     """text item delimiters - the text item delimiters of a string """
855     which = 'txdl'
856     want = 'list'
857 text_item_delimiters = _Prop_text_item_delimiters()
858 class _Prop_weeks(aetools.NProperty):
859     """weeks - the number of seconds in a week """
860     which = 'week'
861     want = 'long'
862 weeks = _Prop_weeks()
863
864 applications = application
865
866 app = application
867
868 class upper_case(aetools.ComponentItem):
869     """upper case - Text with lower case converted to upper case """
870     want = 'case'
871
872 class cubic_centimeters(aetools.ComponentItem):
873     """cubic centimeters - a volume measurement in SI cubic centimeters """
874     want = 'ccmt'
875
876 cubic_centimetres = cubic_centimeters
877
878 class cubic_feet(aetools.ComponentItem):
879     """cubic feet - a volume measurement in Imperial cubic feet """
880     want = 'cfet'
881
882 class characters(aetools.ComponentItem):
883     """characters -  """
884     want = 'cha '
885
886 character = characters
887
888 class writing_code_info(aetools.ComponentItem):
889     """writing code info - script code and language code of text run """
890     want = 'citl'
891 class _Prop_language_code(aetools.NProperty):
892     """language code - the language code for the text """
893     which = 'plcd'
894     want = 'shor'
895 class _Prop_script_code(aetools.NProperty):
896     """script code - the script code for the text """
897     which = 'pscd'
898     want = 'shor'
899
900 writing_code_infos = writing_code_info
901
902 class text_items(aetools.ComponentItem):
903     """text items -  """
904     want = 'citm'
905
906 text_item = text_items
907
908 class cubic_meters(aetools.ComponentItem):
909     """cubic meters - a volume measurement in SI cubic meters """
910     want = 'cmet'
911
912 cubic_metres = cubic_meters
913
914 class centimeters(aetools.ComponentItem):
915     """centimeters - a distance measurement in SI centimeters """
916     want = 'cmtr'
917
918 centimetres = centimeters
919
920 class item(aetools.ComponentItem):
921     """item - An item of any type """
922     want = 'cobj'
923 class _Prop_id(aetools.NProperty):
924     """id - the unique ID number of this object """
925     which = 'ID  '
926     want = 'long'
927
928 items = item
929
930 class C_strings(aetools.ComponentItem):
931     """C strings -  """
932     want = 'cstr'
933
934 C_string = C_strings
935
936 class text(aetools.ComponentItem):
937     """text - text with language and style information """
938     want = 'ctxt'
939
940 class cubic_inches(aetools.ComponentItem):
941     """cubic inches - a volume measurement in Imperial cubic inches """
942     want = 'cuin'
943
944 class cubic_yards(aetools.ComponentItem):
945     """cubic yards - a distance measurement in Imperial cubic yards """
946     want = 'cyrd'
947
948 class December(aetools.ComponentItem):
949     """December - the month of December """
950     want = 'dec '
951
952 class degrees_Celsius(aetools.ComponentItem):
953     """degrees Celsius - a temperature measurement in SI degrees Celsius """
954     want = 'degc'
955
956 class degrees_Fahrenheit(aetools.ComponentItem):
957     """degrees Fahrenheit - a temperature measurement in degrees Fahrenheit """
958     want = 'degf'
959
960 class degrees_Kelvin(aetools.ComponentItem):
961     """degrees Kelvin - a temperature measurement in degrees Kelvin """
962     want = 'degk'
963
964 class reals(aetools.ComponentItem):
965     """reals -  """
966     want = 'doub'
967
968 real = reals
969
970 class encoded_strings(aetools.ComponentItem):
971     """encoded strings -  """
972     want = 'encs'
973
974 encoded_string = encoded_strings
975
976 class constants(aetools.ComponentItem):
977     """constants -  """
978     want = 'enum'
979
980 constant = constants
981
982 class events(aetools.ComponentItem):
983     """events -  """
984     want = 'evnt'
985
986 event = events
987
988 class February(aetools.ComponentItem):
989     """February - the month of February """
990     want = 'feb '
991
992 class feet(aetools.ComponentItem):
993     """feet - a distance measurement in Imperial feet """
994     want = 'feet'
995
996 class Friday(aetools.ComponentItem):
997     """Friday - Friday """
998     want = 'fri '
999
1000 class file_specification(aetools.ComponentItem):
1001     """file specification - a file specification as used by the operating system """
1002     want = 'fss '
1003
1004 file_specifications = file_specification
1005
1006 class gallons(aetools.ComponentItem):
1007     """gallons - a volume measurement in Imperial gallons """
1008     want = 'galn'
1009
1010 class grams(aetools.ComponentItem):
1011     """grams - a mass measurement in SI meters """
1012     want = 'gram'
1013
1014 class handlers(aetools.ComponentItem):
1015     """handlers -  """
1016     want = 'hand'
1017
1018 handler = handlers
1019
1020 class inches(aetools.ComponentItem):
1021     """inches - a distance measurement in Imperial inches """
1022     want = 'inch'
1023
1024 class international_text(aetools.ComponentItem):
1025     """international text - text that begins with a writing code """
1026     want = 'itxt'
1027
1028 international_text = international_text
1029
1030 class January(aetools.ComponentItem):
1031     """January - the month of January """
1032     want = 'jan '
1033
1034 class July(aetools.ComponentItem):
1035     """July - the month of July """
1036     want = 'jul '
1037
1038 class June(aetools.ComponentItem):
1039     """June - the month of June """
1040     want = 'jun '
1041
1042 class reference_forms(aetools.ComponentItem):
1043     """reference forms -  """
1044     want = 'kfrm'
1045
1046 reference_form = reference_forms
1047
1048 class kilograms(aetools.ComponentItem):
1049     """kilograms - a mass measurement in SI kilograms """
1050     want = 'kgrm'
1051
1052 class kilometers(aetools.ComponentItem):
1053     """kilometers - a distance measurement in SI kilometers """
1054     want = 'kmtr'
1055
1056 kilometres = kilometers
1057
1058 class keystroke(aetools.ComponentItem):
1059     """keystroke - a press of a key combination on a Macintosh keyboard """
1060     want = 'kprs'
1061 class _Prop_key(aetools.NProperty):
1062     """key - the character for the key was pressed (ignoring modifiers) """
1063     which = 'kMsg'
1064     want = 'cha '
1065 class _Prop_key_kind(aetools.NProperty):
1066     """key kind - the kind of key that was pressed """
1067     which = 'kknd'
1068     want = 'ekst'
1069 class _Prop_modifiers(aetools.NProperty):
1070     """modifiers - the modifier keys pressed in combination """
1071     which = 'kMod'
1072     want = 'eMds'
1073
1074 keystrokes = keystroke
1075
1076 class pounds(aetools.ComponentItem):
1077     """pounds - a weight measurement in SI meters """
1078     want = 'lbs '
1079
1080 class date(aetools.ComponentItem):
1081     """date - Absolute date and time values """
1082     want = 'ldt '
1083 class _Prop_date_string(aetools.NProperty):
1084     """date string - the date portion of a date-time value as text """
1085     which = 'dstr'
1086     want = 'TEXT'
1087 class _Prop_day(aetools.NProperty):
1088     """day - the day of the month of a date """
1089     which = 'day '
1090     want = 'long'
1091 class _Prop_month(aetools.NProperty):
1092     """month - the month of a date """
1093     which = 'mnth'
1094     want = 'mnth'
1095 class _Prop_time(aetools.NProperty):
1096     """time - the time since midnight of a date """
1097     which = 'time'
1098     want = 'long'
1099 class _Prop_time_string(aetools.NProperty):
1100     """time string - the time portion of a date-time value as text """
1101     which = 'tstr'
1102     want = 'TEXT'
1103 class _Prop_weekday(aetools.NProperty):
1104     """weekday - the day of a week of a date """
1105     which = 'wkdy'
1106     want = 'wkdy'
1107 class _Prop_year(aetools.NProperty):
1108     """year - the year of a date """
1109     which = 'year'
1110     want = 'long'
1111
1112 dates = date
1113
1114 class list(aetools.ComponentItem):
1115     """list - An ordered collection of items """
1116     want = 'list'
1117 class _Prop_length(aetools.NProperty):
1118     """length - the length of a list """
1119     which = 'leng'
1120     want = 'long'
1121 class _Prop_rest(aetools.NProperty):
1122     """rest - all items of the list excluding first """
1123     which = 'rest'
1124     want = 'list'
1125 class _Prop_reverse(aetools.NProperty):
1126     """reverse - the items of the list in reverse order """
1127     which = 'rvse'
1128     want = 'list'
1129
1130 lists = list
1131
1132 class liters(aetools.ComponentItem):
1133     """liters - a volume measurement in SI liters """
1134     want = 'litr'
1135
1136 litres = liters
1137
1138 class linked_list(aetools.ComponentItem):
1139     """linked list - An ordered collection of items """
1140     want = 'llst'
1141
1142 linked_lists = linked_list
1143
1144 class integers(aetools.ComponentItem):
1145     """integers -  """
1146     want = 'long'
1147
1148 integer = integers
1149
1150 class list_or_record(aetools.ComponentItem):
1151     """list or record - a list or record """
1152     want = 'lr  '
1153
1154 class list_2c__record_or_text(aetools.ComponentItem):
1155     """list, record or text - a list, record or text """
1156     want = 'lrs '
1157
1158 class list_or_string(aetools.ComponentItem):
1159     """list or string - a list or string """
1160     want = 'ls  '
1161
1162 class machines(aetools.ComponentItem):
1163     """machines -  """
1164     want = 'mach'
1165
1166 machine = machines
1167
1168 class March(aetools.ComponentItem):
1169     """March - the month of March """
1170     want = 'mar '
1171
1172 class May(aetools.ComponentItem):
1173     """May - the month of May """
1174     want = 'may '
1175
1176 class meters(aetools.ComponentItem):
1177     """meters - a distance measurement in SI meters """
1178     want = 'metr'
1179
1180 metres = meters
1181
1182 class miles(aetools.ComponentItem):
1183     """miles - a distance measurement in Imperial miles """
1184     want = 'mile'
1185
1186 class months(aetools.ComponentItem):
1187     """months -  """
1188     want = 'mnth'
1189
1190 month = months
1191
1192 class Monday(aetools.ComponentItem):
1193     """Monday - Monday """
1194     want = 'mon '
1195
1196 class missing_values(aetools.ComponentItem):
1197     """missing values -  """
1198     want = 'msng'
1199
1200 missing_value = missing_values
1201
1202 class number_or_date(aetools.ComponentItem):
1203     """number or date - a number or date """
1204     want = 'nd  '
1205
1206 class number_2c__date_or_text(aetools.ComponentItem):
1207     """number, date or text - a number, date or text """
1208     want = 'nds '
1209
1210 class numbers(aetools.ComponentItem):
1211     """numbers -  """
1212     want = 'nmbr'
1213
1214 number = numbers
1215
1216 class November(aetools.ComponentItem):
1217     """November - the month of November """
1218     want = 'nov '
1219
1220 class number_or_string(aetools.ComponentItem):
1221     """number or string - a number or string """
1222     want = 'ns  '
1223
1224 class references(aetools.ComponentItem):
1225     """references -  """
1226     want = 'obj '
1227
1228 reference = references
1229
1230 class October(aetools.ComponentItem):
1231     """October - the month of October """
1232     want = 'oct '
1233
1234 class ounces(aetools.ComponentItem):
1235     """ounces - a weight measurement in SI meters """
1236     want = 'ozs '
1237
1238 class class_(aetools.ComponentItem):
1239     """class - the type of a value """
1240     want = 'pcls'
1241 class _Prop__3c_Inheritance_3e_(aetools.NProperty):
1242     """<Inheritance> - inherits some of its properties from this class """
1243     which = 'c@#^'
1244     want = 'type'
1245
1246 classes = class_
1247
1248 class prepositions(aetools.ComponentItem):
1249     """prepositions -  """
1250     want = 'prep'
1251
1252 preposition = prepositions
1253
1254 class properties(aetools.ComponentItem):
1255     """properties -  """
1256     want = 'prop'
1257
1258 property = properties
1259
1260 class writing_code(aetools.ComponentItem):
1261     """writing code - codes that identify the language and script system """
1262     want = 'psct'
1263
1264 class Pascal_strings(aetools.ComponentItem):
1265     """Pascal strings -  """
1266     want = 'pstr'
1267
1268 Pascal_string = Pascal_strings
1269
1270 class quarts(aetools.ComponentItem):
1271     """quarts - a volume measurement in Imperial quarts """
1272     want = 'qrts'
1273
1274 class data(aetools.ComponentItem):
1275     """data - an AppleScript raw data object """
1276     want = 'rdat'
1277
1278 class records(aetools.ComponentItem):
1279     """records -  """
1280     want = 'reco'
1281
1282 record = records
1283
1284 class Saturday(aetools.ComponentItem):
1285     """Saturday - Saturday """
1286     want = 'sat '
1287
1288 class seconds(aetools.ComponentItem):
1289     """seconds - more than one second """
1290     want = 'scnd'
1291
1292 class script(aetools.ComponentItem):
1293     """script - An AppleScript script """
1294     want = 'scpt'
1295 class _Prop_name(aetools.NProperty):
1296     """name - the name of the script """
1297     which = 'pnam'
1298     want = 'TEXT'
1299 class _Prop_parent(aetools.NProperty):
1300     """parent - its parent, i.e. the script that will handle events that this script doesn\xd5t """
1301     which = 'pare'
1302     want = 'scpt'
1303
1304 scripts = script
1305
1306 class September(aetools.ComponentItem):
1307     """September - the month of September """
1308     want = 'sep '
1309
1310 class alias_or_string(aetools.ComponentItem):
1311     """alias or string - an alias or string """
1312     want = 'sf  '
1313
1314 class sounds(aetools.ComponentItem):
1315     """sounds -  """
1316     want = 'snd '
1317
1318 sound = sounds
1319
1320 class square_feet(aetools.ComponentItem):
1321     """square feet - an area measurement in Imperial square feet """
1322     want = 'sqft'
1323
1324 class square_kilometers(aetools.ComponentItem):
1325     """square kilometers - an area measurement in SI square kilometers """
1326     want = 'sqkm'
1327
1328 square_kilometres = square_kilometers
1329
1330 class square_miles(aetools.ComponentItem):
1331     """square miles - an area measurement in Imperial square miles """
1332     want = 'sqmi'
1333
1334 class square_meters(aetools.ComponentItem):
1335     """square meters - an area measurement in SI square meters """
1336     want = 'sqrm'
1337
1338 square_metres = square_meters
1339
1340 class square_yards(aetools.ComponentItem):
1341     """square yards - an area measurement in Imperial square yards """
1342     want = 'sqyd'
1343
1344 class styled_Clipboard_text(aetools.ComponentItem):
1345     """styled Clipboard text - clipboard text with font, size, and style information """
1346     want = 'styl'
1347
1348 styled_Clipboard_text = styled_Clipboard_text
1349
1350 class Sunday(aetools.ComponentItem):
1351     """Sunday - Sunday """
1352     want = 'sun '
1353
1354 class styled_Unicode_text(aetools.ComponentItem):
1355     """styled Unicode text - styled text in the Unicode format """
1356     want = 'sutx'
1357
1358 styled_Unicode_text = styled_Unicode_text
1359
1360 class Thursday(aetools.ComponentItem):
1361     """Thursday - Thursday """
1362     want = 'thu '
1363
1364 class Tuesday(aetools.ComponentItem):
1365     """Tuesday - Tuesday """
1366     want = 'tue '
1367
1368 class type_class(aetools.ComponentItem):
1369     """type class - the name of a particular class (or any four-character code) """
1370     want = 'type'
1371
1372 class empty_ae_name_(aetools.ComponentItem):
1373     """ - the undefined value """
1374     want = 'undf'
1375
1376 class Unicode_text(aetools.ComponentItem):
1377     """Unicode text - text in the Unicode format (cannot be viewed without conversion) """
1378     want = 'utxt'
1379
1380 Unicode_text = Unicode_text
1381
1382 class vector(aetools.ComponentItem):
1383     """vector - An ordered collection of items """
1384     want = 'vect'
1385
1386 vectors = vector
1387
1388 class version(aetools.ComponentItem):
1389     """version - a version value """
1390     want = 'vers'
1391
1392 class Wednesday(aetools.ComponentItem):
1393     """Wednesday - Wednesday """
1394     want = 'wed '
1395
1396 class weekdays(aetools.ComponentItem):
1397     """weekdays -  """
1398     want = 'wkdy'
1399
1400 weekday = weekdays
1401
1402 class yards(aetools.ComponentItem):
1403     """yards - a distance measurement in Imperial yards """
1404     want = 'yard'
1405
1406 class zones(aetools.ComponentItem):
1407     """zones -  """
1408     want = 'zone'
1409
1410 zone = zones
1411 anything._superclassnames = []
1412 anything._privpropdict = {
1413 }
1414 anything._privelemdict = {
1415 }
1416 pictures._superclassnames = []
1417 pictures._privpropdict = {
1418 }
1419 pictures._privelemdict = {
1420 }
1421 styled_text._superclassnames = []
1422 styled_text._privpropdict = {
1423 }
1424 styled_text._privelemdict = {
1425 }
1426 styled_text._superclassnames = []
1427 styled_text._privpropdict = {
1428 }
1429 styled_text._privelemdict = {
1430 }
1431 strings._superclassnames = []
1432 strings._privpropdict = {
1433 }
1434 strings._privelemdict = {
1435 }
1436 alias._superclassnames = []
1437 alias._privpropdict = {
1438     'POSIX_path' : _Prop_POSIX_path,
1439 }
1440 alias._privelemdict = {
1441 }
1442 April._superclassnames = []
1443 April._privpropdict = {
1444 }
1445 April._privelemdict = {
1446 }
1447 August._superclassnames = []
1448 August._privpropdict = {
1449 }
1450 August._privelemdict = {
1451 }
1452 booleans._superclassnames = []
1453 booleans._privpropdict = {
1454 }
1455 booleans._privelemdict = {
1456 }
1457 RGB_colors._superclassnames = []
1458 RGB_colors._privpropdict = {
1459 }
1460 RGB_colors._privelemdict = {
1461 }
1462 application._superclassnames = []
1463 application._privpropdict = {
1464     'AppleScript' : _Prop_AppleScript,
1465     'days' : _Prop_days,
1466     'hours' : _Prop_hours,
1467     'minutes' : _Prop_minutes,
1468     'pi' : _Prop_pi,
1469     'print_depth' : _Prop_print_depth,
1470     'print_length' : _Prop_print_length,
1471     'result' : _Prop_result,
1472     'return_' : _Prop_return_,
1473     'space' : _Prop_space,
1474     'tab' : _Prop_tab,
1475     'text_item_delimiters' : _Prop_text_item_delimiters,
1476     'weeks' : _Prop_weeks,
1477 }
1478 application._privelemdict = {
1479 }
1480 upper_case._superclassnames = []
1481 upper_case._privpropdict = {
1482 }
1483 upper_case._privelemdict = {
1484 }
1485 cubic_centimeters._superclassnames = []
1486 cubic_centimeters._privpropdict = {
1487 }
1488 cubic_centimeters._privelemdict = {
1489 }
1490 cubic_feet._superclassnames = []
1491 cubic_feet._privpropdict = {
1492 }
1493 cubic_feet._privelemdict = {
1494 }
1495 characters._superclassnames = []
1496 characters._privpropdict = {
1497 }
1498 characters._privelemdict = {
1499 }
1500 writing_code_info._superclassnames = []
1501 writing_code_info._privpropdict = {
1502     'language_code' : _Prop_language_code,
1503     'script_code' : _Prop_script_code,
1504 }
1505 writing_code_info._privelemdict = {
1506 }
1507 text_items._superclassnames = []
1508 text_items._privpropdict = {
1509 }
1510 text_items._privelemdict = {
1511 }
1512 cubic_meters._superclassnames = []
1513 cubic_meters._privpropdict = {
1514 }
1515 cubic_meters._privelemdict = {
1516 }
1517 centimeters._superclassnames = []
1518 centimeters._privpropdict = {
1519 }
1520 centimeters._privelemdict = {
1521 }
1522 item._superclassnames = []
1523 item._privpropdict = {
1524     'id' : _Prop_id,
1525 }
1526 item._privelemdict = {
1527 }
1528 C_strings._superclassnames = []
1529 C_strings._privpropdict = {
1530 }
1531 C_strings._privelemdict = {
1532 }
1533 text._superclassnames = []
1534 text._privpropdict = {
1535 }
1536 text._privelemdict = {
1537 }
1538 cubic_inches._superclassnames = []
1539 cubic_inches._privpropdict = {
1540 }
1541 cubic_inches._privelemdict = {
1542 }
1543 cubic_yards._superclassnames = []
1544 cubic_yards._privpropdict = {
1545 }
1546 cubic_yards._privelemdict = {
1547 }
1548 December._superclassnames = []
1549 December._privpropdict = {
1550 }
1551 December._privelemdict = {
1552 }
1553 degrees_Celsius._superclassnames = []
1554 degrees_Celsius._privpropdict = {
1555 }
1556 degrees_Celsius._privelemdict = {
1557 }
1558 degrees_Fahrenheit._superclassnames = []
1559 degrees_Fahrenheit._privpropdict = {
1560 }
1561 degrees_Fahrenheit._privelemdict = {
1562 }
1563 degrees_Kelvin._superclassnames = []
1564 degrees_Kelvin._privpropdict = {
1565 }
1566 degrees_Kelvin._privelemdict = {
1567 }
1568 reals._superclassnames = []
1569 reals._privpropdict = {
1570 }
1571 reals._privelemdict = {
1572 }
1573 encoded_strings._superclassnames = []
1574 encoded_strings._privpropdict = {
1575 }
1576 encoded_strings._privelemdict = {
1577 }
1578 constants._superclassnames = []
1579 constants._privpropdict = {
1580 }
1581 constants._privelemdict = {
1582 }
1583 events._superclassnames = []
1584 events._privpropdict = {
1585 }
1586 events._privelemdict = {
1587 }
1588 February._superclassnames = []
1589 February._privpropdict = {
1590 }
1591 February._privelemdict = {
1592 }
1593 feet._superclassnames = []
1594 feet._privpropdict = {
1595 }
1596 feet._privelemdict = {
1597 }
1598 Friday._superclassnames = []
1599 Friday._privpropdict = {
1600 }
1601 Friday._privelemdict = {
1602 }
1603 file_specification._superclassnames = []
1604 file_specification._privpropdict = {
1605     'POSIX_path' : _Prop_POSIX_path,
1606 }
1607 file_specification._privelemdict = {
1608 }
1609 gallons._superclassnames = []
1610 gallons._privpropdict = {
1611 }
1612 gallons._privelemdict = {
1613 }
1614 grams._superclassnames = []
1615 grams._privpropdict = {
1616 }
1617 grams._privelemdict = {
1618 }
1619 handlers._superclassnames = []
1620 handlers._privpropdict = {
1621 }
1622 handlers._privelemdict = {
1623 }
1624 inches._superclassnames = []
1625 inches._privpropdict = {
1626 }
1627 inches._privelemdict = {
1628 }
1629 international_text._superclassnames = []
1630 international_text._privpropdict = {
1631 }
1632 international_text._privelemdict = {
1633 }
1634 international_text._superclassnames = []
1635 international_text._privpropdict = {
1636 }
1637 international_text._privelemdict = {
1638 }
1639 January._superclassnames = []
1640 January._privpropdict = {
1641 }
1642 January._privelemdict = {
1643 }
1644 July._superclassnames = []
1645 July._privpropdict = {
1646 }
1647 July._privelemdict = {
1648 }
1649 June._superclassnames = []
1650 June._privpropdict = {
1651 }
1652 June._privelemdict = {
1653 }
1654 reference_forms._superclassnames = []
1655 reference_forms._privpropdict = {
1656 }
1657 reference_forms._privelemdict = {
1658 }
1659 kilograms._superclassnames = []
1660 kilograms._privpropdict = {
1661 }
1662 kilograms._privelemdict = {
1663 }
1664 kilometers._superclassnames = []
1665 kilometers._privpropdict = {
1666 }
1667 kilometers._privelemdict = {
1668 }
1669 keystroke._superclassnames = []
1670 keystroke._privpropdict = {
1671     'key' : _Prop_key,
1672     'key_kind' : _Prop_key_kind,
1673     'modifiers' : _Prop_modifiers,
1674 }
1675 keystroke._privelemdict = {
1676 }
1677 pounds._superclassnames = []
1678 pounds._privpropdict = {
1679 }
1680 pounds._privelemdict = {
1681 }
1682 date._superclassnames = []
1683 date._privpropdict = {
1684     'date_string' : _Prop_date_string,
1685     'day' : _Prop_day,
1686     'month' : _Prop_month,
1687     'time' : _Prop_time,
1688     'time_string' : _Prop_time_string,
1689     'weekday' : _Prop_weekday,
1690     'year' : _Prop_year,
1691 }
1692 date._privelemdict = {
1693 }
1694 list._superclassnames = []
1695 list._privpropdict = {
1696     'length' : _Prop_length,
1697     'rest' : _Prop_rest,
1698     'reverse' : _Prop_reverse,
1699 }
1700 list._privelemdict = {
1701 }
1702 liters._superclassnames = []
1703 liters._privpropdict = {
1704 }
1705 liters._privelemdict = {
1706 }
1707 linked_list._superclassnames = []
1708 linked_list._privpropdict = {
1709     'length' : _Prop_length,
1710 }
1711 linked_list._privelemdict = {
1712 }
1713 integers._superclassnames = []
1714 integers._privpropdict = {
1715 }
1716 integers._privelemdict = {
1717 }
1718 list_or_record._superclassnames = []
1719 list_or_record._privpropdict = {
1720 }
1721 list_or_record._privelemdict = {
1722 }
1723 list_2c__record_or_text._superclassnames = []
1724 list_2c__record_or_text._privpropdict = {
1725 }
1726 list_2c__record_or_text._privelemdict = {
1727 }
1728 list_or_string._superclassnames = []
1729 list_or_string._privpropdict = {
1730 }
1731 list_or_string._privelemdict = {
1732 }
1733 machines._superclassnames = []
1734 machines._privpropdict = {
1735 }
1736 machines._privelemdict = {
1737 }
1738 March._superclassnames = []
1739 March._privpropdict = {
1740 }
1741 March._privelemdict = {
1742 }
1743 May._superclassnames = []
1744 May._privpropdict = {
1745 }
1746 May._privelemdict = {
1747 }
1748 meters._superclassnames = []
1749 meters._privpropdict = {
1750 }
1751 meters._privelemdict = {
1752 }
1753 miles._superclassnames = []
1754 miles._privpropdict = {
1755 }
1756 miles._privelemdict = {
1757 }
1758 months._superclassnames = []
1759 months._privpropdict = {
1760 }
1761 months._privelemdict = {
1762 }
1763 Monday._superclassnames = []
1764 Monday._privpropdict = {
1765 }
1766 Monday._privelemdict = {
1767 }
1768 missing_values._superclassnames = []
1769 missing_values._privpropdict = {
1770 }
1771 missing_values._privelemdict = {
1772 }
1773 number_or_date._superclassnames = []
1774 number_or_date._privpropdict = {
1775 }
1776 number_or_date._privelemdict = {
1777 }
1778 number_2c__date_or_text._superclassnames = []
1779 number_2c__date_or_text._privpropdict = {
1780 }
1781 number_2c__date_or_text._privelemdict = {
1782 }
1783 numbers._superclassnames = []
1784 numbers._privpropdict = {
1785 }
1786 numbers._privelemdict = {
1787 }
1788 November._superclassnames = []
1789 November._privpropdict = {
1790 }
1791 November._privelemdict = {
1792 }
1793 number_or_string._superclassnames = []
1794 number_or_string._privpropdict = {
1795 }
1796 number_or_string._privelemdict = {
1797 }
1798 references._superclassnames = []
1799 references._privpropdict = {
1800 }
1801 references._privelemdict = {
1802 }
1803 October._superclassnames = []
1804 October._privpropdict = {
1805 }
1806 October._privelemdict = {
1807 }
1808 ounces._superclassnames = []
1809 ounces._privpropdict = {
1810 }
1811 ounces._privelemdict = {
1812 }
1813 class_._superclassnames = ['type_class']
1814 class_._privpropdict = {
1815     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
1816 }
1817 class_._privelemdict = {
1818 }
1819 prepositions._superclassnames = []
1820 prepositions._privpropdict = {
1821 }
1822 prepositions._privelemdict = {
1823 }
1824 properties._superclassnames = []
1825 properties._privpropdict = {
1826 }
1827 properties._privelemdict = {
1828 }
1829 writing_code._superclassnames = []
1830 writing_code._privpropdict = {
1831 }
1832 writing_code._privelemdict = {
1833 }
1834 Pascal_strings._superclassnames = []
1835 Pascal_strings._privpropdict = {
1836 }
1837 Pascal_strings._privelemdict = {
1838 }
1839 quarts._superclassnames = []
1840 quarts._privpropdict = {
1841 }
1842 quarts._privelemdict = {
1843 }
1844 data._superclassnames = []
1845 data._privpropdict = {
1846 }
1847 data._privelemdict = {
1848 }
1849 records._superclassnames = []
1850 records._privpropdict = {
1851 }
1852 records._privelemdict = {
1853 }
1854 Saturday._superclassnames = []
1855 Saturday._privpropdict = {
1856 }
1857 Saturday._privelemdict = {
1858 }
1859 seconds._superclassnames = []
1860 seconds._privpropdict = {
1861 }
1862 seconds._privelemdict = {
1863 }
1864 script._superclassnames = []
1865 script._privpropdict = {
1866     'name' : _Prop_name,
1867     'parent' : _Prop_parent,
1868 }
1869 script._privelemdict = {
1870 }
1871 September._superclassnames = []
1872 September._privpropdict = {
1873 }
1874 September._privelemdict = {
1875 }
1876 alias_or_string._superclassnames = []
1877 alias_or_string._privpropdict = {
1878 }
1879 alias_or_string._privelemdict = {
1880 }
1881 sounds._superclassnames = []
1882 sounds._privpropdict = {
1883 }
1884 sounds._privelemdict = {
1885 }
1886 square_feet._superclassnames = []
1887 square_feet._privpropdict = {
1888 }
1889 square_feet._privelemdict = {
1890 }
1891 square_kilometers._superclassnames = []
1892 square_kilometers._privpropdict = {
1893 }
1894 square_kilometers._privelemdict = {
1895 }
1896 square_miles._superclassnames = []
1897 square_miles._privpropdict = {
1898 }
1899 square_miles._privelemdict = {
1900 }
1901 square_meters._superclassnames = []
1902 square_meters._privpropdict = {
1903 }
1904 square_meters._privelemdict = {
1905 }
1906 square_yards._superclassnames = []
1907 square_yards._privpropdict = {
1908 }
1909 square_yards._privelemdict = {
1910 }
1911 styled_Clipboard_text._superclassnames = []
1912 styled_Clipboard_text._privpropdict = {
1913 }
1914 styled_Clipboard_text._privelemdict = {
1915 }
1916 styled_Clipboard_text._superclassnames = []
1917 styled_Clipboard_text._privpropdict = {
1918 }
1919 styled_Clipboard_text._privelemdict = {
1920 }
1921 Sunday._superclassnames = []
1922 Sunday._privpropdict = {
1923 }
1924 Sunday._privelemdict = {
1925 }
1926 styled_Unicode_text._superclassnames = []
1927 styled_Unicode_text._privpropdict = {
1928 }
1929 styled_Unicode_text._privelemdict = {
1930 }
1931 styled_Unicode_text._superclassnames = []
1932 styled_Unicode_text._privpropdict = {
1933 }
1934 styled_Unicode_text._privelemdict = {
1935 }
1936 Thursday._superclassnames = []
1937 Thursday._privpropdict = {
1938 }
1939 Thursday._privelemdict = {
1940 }
1941 Tuesday._superclassnames = []
1942 Tuesday._privpropdict = {
1943 }
1944 Tuesday._privelemdict = {
1945 }
1946 type_class._superclassnames = []
1947 type_class._privpropdict = {
1948 }
1949 type_class._privelemdict = {
1950 }
1951 empty_ae_name_._superclassnames = []
1952 empty_ae_name_._privpropdict = {
1953 }
1954 empty_ae_name_._privelemdict = {
1955 }
1956 Unicode_text._superclassnames = []
1957 Unicode_text._privpropdict = {
1958 }
1959 Unicode_text._privelemdict = {
1960 }
1961 Unicode_text._superclassnames = []
1962 Unicode_text._privpropdict = {
1963 }
1964 Unicode_text._privelemdict = {
1965 }
1966 vector._superclassnames = []
1967 vector._privpropdict = {
1968     'length' : _Prop_length,
1969 }
1970 vector._privelemdict = {
1971 }
1972 version._superclassnames = []
1973 version._privpropdict = {
1974 }
1975 version._privelemdict = {
1976 }
1977 Wednesday._superclassnames = []
1978 Wednesday._privpropdict = {
1979 }
1980 Wednesday._privelemdict = {
1981 }
1982 weekdays._superclassnames = []
1983 weekdays._privpropdict = {
1984 }
1985 weekdays._privelemdict = {
1986 }
1987 yards._superclassnames = []
1988 yards._privpropdict = {
1989 }
1990 yards._privelemdict = {
1991 }
1992 zones._superclassnames = []
1993 zones._privpropdict = {
1994 }
1995 zones._privelemdict = {
1996 }
1997 _Enum_boov = {
1998     'true' : 'true',    # the true boolean value
1999     'false' : 'fals',   # the false boolean value
2000 }
2001
2002 _Enum_cons = {
2003     'case' : 'case',    # case
2004     'diacriticals' : 'diac',    # diacriticals
2005     'white_space' : 'whit',     # white space
2006     'hyphens' : 'hyph', # hyphens
2007     'expansion' : 'expa',       # expansion
2008     'punctuation' : 'punc',     # punctuation
2009     'application_responses' : 'rmte',   # remote event replies
2010 }
2011
2012 _Enum_eMds = {
2013     'option_down' : 'Kopt',     #
2014     'command_down' : 'Kcmd',    #
2015     'control_down' : 'Kctl',    #
2016     'shift_down' : 'Ksft',      #
2017     'caps_lock_down' : 'Kclk',  #
2018 }
2019
2020 _Enum_ekst = {
2021     'escape_key' : 'ks5\x00',   #
2022     'delete_key' : 'ks3\x00',   #
2023     'tab_key' : 'ks0\x00',      #
2024     'return_key' : 'ks$\x00',   #
2025     'clear_key' : 'ksG\x00',    #
2026     'enter_key' : 'ksL\x00',    #
2027     'up_arrow_key' : 'ks~\x00', #
2028     'down_arrow_key' : 'ks}\x00',       #
2029     'left_arrow_key' : 'ks{\x00',       #
2030     'right_arrow_key' : 'ks|\x00',      #
2031     'help_key' : 'ksr\x00',     #
2032     'home_key' : 'kss\x00',     #
2033     'page_up_key' : 'kst\x00',  #
2034     'page_down_key' : 'ksy\x00',        #
2035     'forward_del_key' : 'ksu\x00',      #
2036     'end_key' : 'ksw\x00',      #
2037     'F1_key' : 'ksz\x00',       #
2038     'F2_key' : 'ksx\x00',       #
2039     'F3_key' : 'ksc\x00',       #
2040     'F4_key' : 'ksv\x00',       #
2041     'F5_key' : 'ks`\x00',       #
2042     'F6_key' : 'ksa\x00',       #
2043     'F7_key' : 'ksb\x00',       #
2044     'F8_key' : 'ksd\x00',       #
2045     'F9_key' : 'kse\x00',       #
2046     'F10_key' : 'ksm\x00',      #
2047     'F11_key' : 'ksg\x00',      #
2048     'F12_key' : 'kso\x00',      #
2049     'F13_key' : 'ksi\x00',      #
2050     'F14_key' : 'ksk\x00',      #
2051     'F15_key' : 'ksq\x00',      #
2052 }
2053
2054 _Enum_misc = {
2055     'current_application' : 'cura',     # the current application
2056 }
2057
2058
2059 #
2060 # Indices of types declared in this module
2061 #
2062 _classdeclarations = {
2063     '****' : anything,
2064     'PICT' : pictures,
2065     'STXT' : styled_text,
2066     'TEXT' : strings,
2067     'alis' : alias,
2068     'apr ' : April,
2069     'aug ' : August,
2070     'bool' : booleans,
2071     'cRGB' : RGB_colors,
2072     'capp' : application,
2073     'case' : upper_case,
2074     'ccmt' : cubic_centimeters,
2075     'cfet' : cubic_feet,
2076     'cha ' : characters,
2077     'citl' : writing_code_info,
2078     'citm' : text_items,
2079     'cmet' : cubic_meters,
2080     'cmtr' : centimeters,
2081     'cobj' : item,
2082     'cstr' : C_strings,
2083     'ctxt' : text,
2084     'cuin' : cubic_inches,
2085     'cyrd' : cubic_yards,
2086     'dec ' : December,
2087     'degc' : degrees_Celsius,
2088     'degf' : degrees_Fahrenheit,
2089     'degk' : degrees_Kelvin,
2090     'doub' : reals,
2091     'encs' : encoded_strings,
2092     'enum' : constants,
2093     'evnt' : events,
2094     'feb ' : February,
2095     'feet' : feet,
2096     'fri ' : Friday,
2097     'fss ' : file_specification,
2098     'galn' : gallons,
2099     'gram' : grams,
2100     'hand' : handlers,
2101     'inch' : inches,
2102     'itxt' : international_text,
2103     'jan ' : January,
2104     'jul ' : July,
2105     'jun ' : June,
2106     'kfrm' : reference_forms,
2107     'kgrm' : kilograms,
2108     'kmtr' : kilometers,
2109     'kprs' : keystroke,
2110     'lbs ' : pounds,
2111     'ldt ' : date,
2112     'list' : list,
2113     'litr' : liters,
2114     'llst' : linked_list,
2115     'long' : integers,
2116     'lr  ' : list_or_record,
2117     'lrs ' : list_2c__record_or_text,
2118     'ls  ' : list_or_string,
2119     'mach' : machines,
2120     'mar ' : March,
2121     'may ' : May,
2122     'metr' : meters,
2123     'mile' : miles,
2124     'mnth' : months,
2125     'mon ' : Monday,
2126     'msng' : missing_values,
2127     'nd  ' : number_or_date,
2128     'nds ' : number_2c__date_or_text,
2129     'nmbr' : numbers,
2130     'nov ' : November,
2131     'ns  ' : number_or_string,
2132     'obj ' : references,
2133     'oct ' : October,
2134     'ozs ' : ounces,
2135     'pcls' : class_,
2136     'prep' : prepositions,
2137     'prop' : properties,
2138     'psct' : writing_code,
2139     'pstr' : Pascal_strings,
2140     'qrts' : quarts,
2141     'rdat' : data,
2142     'reco' : records,
2143     'sat ' : Saturday,
2144     'scnd' : seconds,
2145     'scpt' : script,
2146     'sep ' : September,
2147     'sf  ' : alias_or_string,
2148     'snd ' : sounds,
2149     'sqft' : square_feet,
2150     'sqkm' : square_kilometers,
2151     'sqmi' : square_miles,
2152     'sqrm' : square_meters,
2153     'sqyd' : square_yards,
2154     'styl' : styled_Clipboard_text,
2155     'sun ' : Sunday,
2156     'sutx' : styled_Unicode_text,
2157     'thu ' : Thursday,
2158     'tue ' : Tuesday,
2159     'type' : type_class,
2160     'undf' : empty_ae_name_,
2161     'utxt' : Unicode_text,
2162     'vect' : vector,
2163     'vers' : version,
2164     'wed ' : Wednesday,
2165     'wkdy' : weekdays,
2166     'yard' : yards,
2167     'zone' : zones,
2168 }
2169
2170 _propdeclarations = {
2171     'ID  ' : _Prop_id,
2172     'ascr' : _Prop_AppleScript,
2173     'c@#^' : _Prop__3c_Inheritance_3e_,
2174     'day ' : _Prop_day,
2175     'days' : _Prop_days,
2176     'dstr' : _Prop_date_string,
2177     'hour' : _Prop_hours,
2178     'kMod' : _Prop_modifiers,
2179     'kMsg' : _Prop_key,
2180     'kknd' : _Prop_key_kind,
2181     'leng' : _Prop_length,
2182     'min ' : _Prop_minutes,
2183     'mnth' : _Prop_month,
2184     'pare' : _Prop_parent,
2185     'pi  ' : _Prop_pi,
2186     'plcd' : _Prop_language_code,
2187     'pnam' : _Prop_name,
2188     'prdp' : _Prop_print_depth,
2189     'prln' : _Prop_print_length,
2190     'pscd' : _Prop_script_code,
2191     'psxp' : _Prop_POSIX_path,
2192     'rest' : _Prop_rest,
2193     'ret ' : _Prop_return_,
2194     'rslt' : _Prop_result,
2195     'rvse' : _Prop_reverse,
2196     'spac' : _Prop_space,
2197     'tab ' : _Prop_tab,
2198     'time' : _Prop_time,
2199     'tstr' : _Prop_time_string,
2200     'txdl' : _Prop_text_item_delimiters,
2201     'week' : _Prop_weeks,
2202     'wkdy' : _Prop_weekday,
2203     'year' : _Prop_year,
2204 }
2205
2206 _compdeclarations = {
2207 }
2208
2209 _enumdeclarations = {
2210     'boov' : _Enum_boov,
2211     'cons' : _Enum_cons,
2212     'eMds' : _Enum_eMds,
2213     'ekst' : _Enum_ekst,
2214     'misc' : _Enum_misc,
2215 }