PageRenderTime 520ms CodeModel.GetById 101ms app.highlight 347ms RepoModel.GetById 55ms app.codeStats 1ms

/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py

http://unladen-swallow.googlecode.com/
Python | 2215 lines | 1895 code | 138 blank | 182 comment | 63 complexity | d413d9acd670984b34bde27f939e9351 MD5 | raw file
   1"""Suite AppleScript Suite: Standard terms for AppleScript
   2Level 1, version 1
   3
   4Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
   5AETE/AEUT resource version 1/0, language 0, script 0
   6"""
   7
   8import aetools
   9import MacOS
  10
  11_code = 'ascr'
  12
  13class 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
 743class anything(aetools.ComponentItem):
 744    """anything - any class or reference """
 745    want = '****'
 746
 747class pictures(aetools.ComponentItem):
 748    """pictures -  """
 749    want = 'PICT'
 750
 751picture = pictures
 752
 753class styled_text(aetools.ComponentItem):
 754    """styled text - text with font, size, and style information """
 755    want = 'STXT'
 756
 757styled_text = styled_text
 758
 759class strings(aetools.ComponentItem):
 760    """strings -  """
 761    want = 'TEXT'
 762
 763string = strings
 764
 765class 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'
 768class _Prop_POSIX_path(aetools.NProperty):
 769    """POSIX path - the POSIX path of the file """
 770    which = 'psxp'
 771    want = 'TEXT'
 772
 773aliases = alias
 774
 775class April(aetools.ComponentItem):
 776    """April - the month of April """
 777    want = 'apr '
 778
 779class August(aetools.ComponentItem):
 780    """August - the month of August """
 781    want = 'aug '
 782
 783class booleans(aetools.ComponentItem):
 784    """booleans -  """
 785    want = 'bool'
 786
 787boolean = booleans
 788
 789class RGB_colors(aetools.ComponentItem):
 790    """RGB colors -  """
 791    want = 'cRGB'
 792
 793RGB_color = RGB_colors
 794
 795class application(aetools.ComponentItem):
 796    """application - specifies global properties of AppleScript """
 797    want = 'capp'
 798class _Prop_AppleScript(aetools.NProperty):
 799    """AppleScript - the top-level script object """
 800    which = 'ascr'
 801    want = 'scpt'
 802AppleScript = _Prop_AppleScript()
 803class _Prop_days(aetools.NProperty):
 804    """days - the number of seconds in a day """
 805    which = 'days'
 806    want = 'long'
 807days = _Prop_days()
 808class _Prop_hours(aetools.NProperty):
 809    """hours - the number of seconds in an hour """
 810    which = 'hour'
 811    want = 'long'
 812hours = _Prop_hours()
 813class _Prop_minutes(aetools.NProperty):
 814    """minutes - the number of seconds in a minute """
 815    which = 'min '
 816    want = 'long'
 817minutes = _Prop_minutes()
 818class _Prop_pi(aetools.NProperty):
 819    """pi - the constant pi """
 820    which = 'pi  '
 821    want = 'doub'
 822pi = _Prop_pi()
 823class _Prop_print_depth(aetools.NProperty):
 824    """print depth - the maximum depth to print """
 825    which = 'prdp'
 826    want = 'long'
 827print_depth = _Prop_print_depth()
 828class _Prop_print_length(aetools.NProperty):
 829    """print length - the maximum length to print """
 830    which = 'prln'
 831    want = 'long'
 832print_length = _Prop_print_length()
 833class _Prop_result(aetools.NProperty):
 834    """result - the last result of evaluation """
 835    which = 'rslt'
 836    want = '****'
 837result = _Prop_result()
 838class _Prop_return_(aetools.NProperty):
 839    """return - a return character """
 840    which = 'ret '
 841    want = 'cha '
 842return_ = _Prop_return_()
 843class _Prop_space(aetools.NProperty):
 844    """space - a space character """
 845    which = 'spac'
 846    want = 'cha '
 847space = _Prop_space()
 848class _Prop_tab(aetools.NProperty):
 849    """tab - a tab character """
 850    which = 'tab '
 851    want = 'cha '
 852tab = _Prop_tab()
 853class _Prop_text_item_delimiters(aetools.NProperty):
 854    """text item delimiters - the text item delimiters of a string """
 855    which = 'txdl'
 856    want = 'list'
 857text_item_delimiters = _Prop_text_item_delimiters()
 858class _Prop_weeks(aetools.NProperty):
 859    """weeks - the number of seconds in a week """
 860    which = 'week'
 861    want = 'long'
 862weeks = _Prop_weeks()
 863
 864applications = application
 865
 866app = application
 867
 868class upper_case(aetools.ComponentItem):
 869    """upper case - Text with lower case converted to upper case """
 870    want = 'case'
 871
 872class cubic_centimeters(aetools.ComponentItem):
 873    """cubic centimeters - a volume measurement in SI cubic centimeters """
 874    want = 'ccmt'
 875
 876cubic_centimetres = cubic_centimeters
 877
 878class cubic_feet(aetools.ComponentItem):
 879    """cubic feet - a volume measurement in Imperial cubic feet """
 880    want = 'cfet'
 881
 882class characters(aetools.ComponentItem):
 883    """characters -  """
 884    want = 'cha '
 885
 886character = characters
 887
 888class writing_code_info(aetools.ComponentItem):
 889    """writing code info - script code and language code of text run """
 890    want = 'citl'
 891class _Prop_language_code(aetools.NProperty):
 892    """language code - the language code for the text """
 893    which = 'plcd'
 894    want = 'shor'
 895class _Prop_script_code(aetools.NProperty):
 896    """script code - the script code for the text """
 897    which = 'pscd'
 898    want = 'shor'
 899
 900writing_code_infos = writing_code_info
 901
 902class text_items(aetools.ComponentItem):
 903    """text items -  """
 904    want = 'citm'
 905
 906text_item = text_items
 907
 908class cubic_meters(aetools.ComponentItem):
 909    """cubic meters - a volume measurement in SI cubic meters """
 910    want = 'cmet'
 911
 912cubic_metres = cubic_meters
 913
 914class centimeters(aetools.ComponentItem):
 915    """centimeters - a distance measurement in SI centimeters """
 916    want = 'cmtr'
 917
 918centimetres = centimeters
 919
 920class item(aetools.ComponentItem):
 921    """item - An item of any type """
 922    want = 'cobj'
 923class _Prop_id(aetools.NProperty):
 924    """id - the unique ID number of this object """
 925    which = 'ID  '
 926    want = 'long'
 927
 928items = item
 929
 930class C_strings(aetools.ComponentItem):
 931    """C strings -  """
 932    want = 'cstr'
 933
 934C_string = C_strings
 935
 936class text(aetools.ComponentItem):
 937    """text - text with language and style information """
 938    want = 'ctxt'
 939
 940class cubic_inches(aetools.ComponentItem):
 941    """cubic inches - a volume measurement in Imperial cubic inches """
 942    want = 'cuin'
 943
 944class cubic_yards(aetools.ComponentItem):
 945    """cubic yards - a distance measurement in Imperial cubic yards """
 946    want = 'cyrd'
 947
 948class December(aetools.ComponentItem):
 949    """December - the month of December """
 950    want = 'dec '
 951
 952class degrees_Celsius(aetools.ComponentItem):
 953    """degrees Celsius - a temperature measurement in SI degrees Celsius """
 954    want = 'degc'
 955
 956class degrees_Fahrenheit(aetools.ComponentItem):
 957    """degrees Fahrenheit - a temperature measurement in degrees Fahrenheit """
 958    want = 'degf'
 959
 960class degrees_Kelvin(aetools.ComponentItem):
 961    """degrees Kelvin - a temperature measurement in degrees Kelvin """
 962    want = 'degk'
 963
 964class reals(aetools.ComponentItem):
 965    """reals -  """
 966    want = 'doub'
 967
 968real = reals
 969
 970class encoded_strings(aetools.ComponentItem):
 971    """encoded strings -  """
 972    want = 'encs'
 973
 974encoded_string = encoded_strings
 975
 976class constants(aetools.ComponentItem):
 977    """constants -  """
 978    want = 'enum'
 979
 980constant = constants
 981
 982class events(aetools.ComponentItem):
 983    """events -  """
 984    want = 'evnt'
 985
 986event = events
 987
 988class February(aetools.ComponentItem):
 989    """February - the month of February """
 990    want = 'feb '
 991
 992class feet(aetools.ComponentItem):
 993    """feet - a distance measurement in Imperial feet """
 994    want = 'feet'
 995
 996class Friday(aetools.ComponentItem):
 997    """Friday - Friday """
 998    want = 'fri '
 999
1000class file_specification(aetools.ComponentItem):
1001    """file specification - a file specification as used by the operating system """
1002    want = 'fss '
1003
1004file_specifications = file_specification
1005
1006class gallons(aetools.ComponentItem):
1007    """gallons - a volume measurement in Imperial gallons """
1008    want = 'galn'
1009
1010class grams(aetools.ComponentItem):
1011    """grams - a mass measurement in SI meters """
1012    want = 'gram'
1013
1014class handlers(aetools.ComponentItem):
1015    """handlers -  """
1016    want = 'hand'
1017
1018handler = handlers
1019
1020class inches(aetools.ComponentItem):
1021    """inches - a distance measurement in Imperial inches """
1022    want = 'inch'
1023
1024class international_text(aetools.ComponentItem):
1025    """international text - text that begins with a writing code """
1026    want = 'itxt'
1027
1028international_text = international_text
1029
1030class January(aetools.ComponentItem):
1031    """January - the month of January """
1032    want = 'jan '
1033
1034class July(aetools.ComponentItem):
1035    """July - the month of July """
1036    want = 'jul '
1037
1038class June(aetools.ComponentItem):
1039    """June - the month of June """
1040    want = 'jun '
1041
1042class reference_forms(aetools.ComponentItem):
1043    """reference forms -  """
1044    want = 'kfrm'
1045
1046reference_form = reference_forms
1047
1048class kilograms(aetools.ComponentItem):
1049    """kilograms - a mass measurement in SI kilograms """
1050    want = 'kgrm'
1051
1052class kilometers(aetools.ComponentItem):
1053    """kilometers - a distance measurement in SI kilometers """
1054    want = 'kmtr'
1055
1056kilometres = kilometers
1057
1058class keystroke(aetools.ComponentItem):
1059    """keystroke - a press of a key combination on a Macintosh keyboard """
1060    want = 'kprs'
1061class _Prop_key(aetools.NProperty):
1062    """key - the character for the key was pressed (ignoring modifiers) """
1063    which = 'kMsg'
1064    want = 'cha '
1065class _Prop_key_kind(aetools.NProperty):
1066    """key kind - the kind of key that was pressed """
1067    which = 'kknd'
1068    want = 'ekst'
1069class _Prop_modifiers(aetools.NProperty):
1070    """modifiers - the modifier keys pressed in combination """
1071    which = 'kMod'
1072    want = 'eMds'
1073
1074keystrokes = keystroke
1075
1076class pounds(aetools.ComponentItem):
1077    """pounds - a weight measurement in SI meters """
1078    want = 'lbs '
1079
1080class date(aetools.ComponentItem):
1081    """date - Absolute date and time values """
1082    want = 'ldt '
1083class _Prop_date_string(aetools.NProperty):
1084    """date string - the date portion of a date-time value as text """
1085    which = 'dstr'
1086    want = 'TEXT'
1087class _Prop_day(aetools.NProperty):
1088    """day - the day of the month of a date """
1089    which = 'day '
1090    want = 'long'
1091class _Prop_month(aetools.NProperty):
1092    """month - the month of a date """
1093    which = 'mnth'
1094    want = 'mnth'
1095class _Prop_time(aetools.NProperty):
1096    """time - the time since midnight of a date """
1097    which = 'time'
1098    want = 'long'
1099class _Prop_time_string(aetools.NProperty):
1100    """time string - the time portion of a date-time value as text """
1101    which = 'tstr'
1102    want = 'TEXT'
1103class _Prop_weekday(aetools.NProperty):
1104    """weekday - the day of a week of a date """
1105    which = 'wkdy'
1106    want = 'wkdy'
1107class _Prop_year(aetools.NProperty):
1108    """year - the year of a date """
1109    which = 'year'
1110    want = 'long'
1111
1112dates = date
1113
1114class list(aetools.ComponentItem):
1115    """list - An ordered collection of items """
1116    want = 'list'
1117class _Prop_length(aetools.NProperty):
1118    """length - the length of a list """
1119    which = 'leng'
1120    want = 'long'
1121class _Prop_rest(aetools.NProperty):
1122    """rest - all items of the list excluding first """
1123    which = 'rest'
1124    want = 'list'
1125class _Prop_reverse(aetools.NProperty):
1126    """reverse - the items of the list in reverse order """
1127    which = 'rvse'
1128    want = 'list'
1129
1130lists = list
1131
1132class liters(aetools.ComponentItem):
1133    """liters - a volume measurement in SI liters """
1134    want = 'litr'
1135
1136litres = liters
1137
1138class linked_list(aetools.ComponentItem):
1139    """linked list - An ordered collection of items """
1140    want = 'llst'
1141
1142linked_lists = linked_list
1143
1144class integers(aetools.ComponentItem):
1145    """integers -  """
1146    want = 'long'
1147
1148integer = integers
1149
1150class list_or_record(aetools.ComponentItem):
1151    """list or record - a list or record """
1152    want = 'lr  '
1153
1154class list_2c__record_or_text(aetools.ComponentItem):
1155    """list, record or text - a list, record or text """
1156    want = 'lrs '
1157
1158class list_or_string(aetools.ComponentItem):
1159    """list or string - a list or string """
1160    want = 'ls  '
1161
1162class machines(aetools.ComponentItem):
1163    """machines -  """
1164    want = 'mach'
1165
1166machine = machines
1167
1168class March(aetools.ComponentItem):
1169    """March - the month of March """
1170    want = 'mar '
1171
1172class May(aetools.ComponentItem):
1173    """May - the month of May """
1174    want = 'may '
1175
1176class meters(aetools.ComponentItem):
1177    """meters - a distance measurement in SI meters """
1178    want = 'metr'
1179
1180metres = meters
1181
1182class miles(aetools.ComponentItem):
1183    """miles - a distance measurement in Imperial miles """
1184    want = 'mile'
1185
1186class months(aetools.ComponentItem):
1187    """months -  """
1188    want = 'mnth'
1189
1190month = months
1191
1192class Monday(aetools.ComponentItem):
1193    """Monday - Monday """
1194    want = 'mon '
1195
1196class missing_values(aetools.ComponentItem):
1197    """missing values -  """
1198    want = 'msng'
1199
1200missing_value = missing_values
1201
1202class number_or_date(aetools.ComponentItem):
1203    """number or date - a number or date """
1204    want = 'nd  '
1205
1206class number_2c__date_or_text(aetools.ComponentItem):
1207    """number, date or text - a number, date or text """
1208    want = 'nds '
1209
1210class numbers(aetools.ComponentItem):
1211    """numbers -  """
1212    want = 'nmbr'
1213
1214number = numbers
1215
1216class November(aetools.ComponentItem):
1217    """November - the month of November """
1218    want = 'nov '
1219
1220class number_or_string(aetools.ComponentItem):
1221    """number or string - a number or string """
1222    want = 'ns  '
1223
1224class references(aetools.ComponentItem):
1225    """references -  """
1226    want = 'obj '
1227
1228reference = references
1229
1230class October(aetools.ComponentItem):
1231    """October - the month of October """
1232    want = 'oct '
1233
1234class ounces(aetools.ComponentItem):
1235    """ounces - a weight measurement in SI meters """
1236    want = 'ozs '
1237
1238class class_(aetools.ComponentItem):
1239    """class - the type of a value """
1240    want = 'pcls'
1241class _Prop__3c_Inheritance_3e_(aetools.NProperty):
1242    """<Inheritance> - inherits some of its properties from this class """
1243    which = 'c@#^'
1244    want = 'type'
1245
1246classes = class_
1247
1248class prepositions(aetools.ComponentItem):
1249    """prepositions -  """
1250    want = 'prep'
1251
1252preposition = prepositions
1253
1254class properties(aetools.ComponentItem):
1255    """properties -  """
1256    want = 'prop'
1257
1258property = properties
1259
1260class writing_code(aetools.ComponentItem):
1261    """writing code - codes that identify the language and script system """
1262    want = 'psct'
1263
1264class Pascal_strings(aetools.ComponentItem):
1265    """Pascal strings -  """
1266    want = 'pstr'
1267
1268Pascal_string = Pascal_strings
1269
1270class quarts(aetools.ComponentItem):
1271    """quarts - a volume measurement in Imperial quarts """
1272    want = 'qrts'
1273
1274class data(aetools.ComponentItem):
1275    """data - an AppleScript raw data object """
1276    want = 'rdat'
1277
1278class records(aetools.ComponentItem):
1279    """records -  """
1280    want = 'reco'
1281
1282record = records
1283
1284class Saturday(aetools.ComponentItem):
1285    """Saturday - Saturday """
1286    want = 'sat '
1287
1288class seconds(aetools.ComponentItem):
1289    """seconds - more than one second """
1290    want = 'scnd'
1291
1292class script(aetools.ComponentItem):
1293    """script - An AppleScript script """
1294    want = 'scpt'
1295class _Prop_name(aetools.NProperty):
1296    """name - the name of the script """
1297    which = 'pnam'
1298    want = 'TEXT'
1299class _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
1304scripts = script
1305
1306class September(aetools.ComponentItem):
1307    """September - the month of September """
1308    want = 'sep '
1309
1310class alias_or_string(aetools.ComponentItem):
1311    """alias or string - an alias or string """
1312    want = 'sf  '
1313
1314class sounds(aetools.ComponentItem):
1315    """sounds -  """
1316    want = 'snd '
1317
1318sound = sounds
1319
1320class square_feet(aetools.ComponentItem):
1321    """square feet - an area measurement in Imperial square feet """
1322    want = 'sqft'
1323
1324class square_kilometers(aetools.ComponentItem):
1325    """square kilometers - an area measurement in SI square kilometers """
1326    want = 'sqkm'
1327
1328square_kilometres = square_kilometers
1329
1330class square_miles(aetools.ComponentItem):
1331    """square miles - an area measurement in Imperial square miles """
1332    want = 'sqmi'
1333
1334class square_meters(aetools.ComponentItem):
1335    """square meters - an area measurement in SI square meters """
1336    want = 'sqrm'
1337
1338square_metres = square_meters
1339
1340class square_yards(aetools.ComponentItem):
1341    """square yards - an area measurement in Imperial square yards """
1342    want = 'sqyd'
1343
1344class styled_Clipboard_text(aetools.ComponentItem):
1345    """styled Clipboard text - clipboard text with font, size, and style information """
1346    want = 'styl'
1347
1348styled_Clipboard_text = styled_Clipboard_text
1349
1350class Sunday(aetools.ComponentItem):
1351    """Sunday - Sunday """
1352    want = 'sun '
1353
1354class styled_Unicode_text(aetools.ComponentItem):
1355    """styled Unicode text - styled text in the Unicode format """
1356    want = 'sutx'
1357
1358styled_Unicode_text = styled_Unicode_text
1359
1360class Thursday(aetools.ComponentItem):
1361    """Thursday - Thursday """
1362    want = 'thu '
1363
1364class Tuesday(aetools.ComponentItem):
1365    """Tuesday - Tuesday """
1366    want = 'tue '
1367
1368class type_class(aetools.ComponentItem):
1369    """type class - the name of a particular class (or any four-character code) """
1370    want = 'type'
1371
1372class empty_ae_name_(aetools.ComponentItem):
1373    """ - the undefined value """
1374    want = 'undf'
1375
1376class Unicode_text(aetools.ComponentItem):
1377    """Unicode text - text in the Unicode format (cannot be viewed without conversion) """
1378    want = 'utxt'
1379
1380Unicode_text = Unicode_text
1381
1382class vector(aetools.ComponentItem):
1383    """vector - An ordered collection of items """
1384    want = 'vect'
1385
1386vectors = vector
1387
1388class version(aetools.ComponentItem):
1389    """version - a version value """
1390    want = 'vers'
1391
1392class Wednesday(aetools.ComponentItem):
1393    """Wednesday - Wednesday """
1394    want = 'wed '
1395
1396class weekdays(aetools.ComponentItem):
1397    """weekdays -  """
1398    want = 'wkdy'
1399
1400weekday = weekdays
1401
1402class yards(aetools.ComponentItem):
1403    """yards - a distance measurement in Imperial yards """
1404    want = 'yard'
1405
1406class zones(aetools.ComponentItem):
1407    """zones -  """
1408    want = 'zone'
1409
1410zone = zones
1411anything._superclassnames = []
1412anything._privpropdict = {
1413}
1414anything._privelemdict = {
1415}
1416pictures._superclassnames = []
1417pictures._privpropdict = {
1418}
1419pictures._privelemdict = {
1420}
1421styled_text._superclassnames = []
1422styled_text._privpropdict = {
1423}
1424styled_text._privelemdict = {
1425}
1426styled_text._superclassnames = []
1427styled_text._privpropdict = {
1428}
1429styled_text._privelemdict = {
1430}
1431strings._superclassnames = []
1432strings._privpropdict = {
1433}
1434strings._privelemdict = {
1435}
1436alias._superclassnames = []
1437alias._privpropdict = {
1438    'POSIX_path' : _Prop_POSIX_path,
1439}
1440alias._privelemdict = {
1441}
1442April._superclassnames = []
1443April._privpropdict = {
1444}
1445April._privelemdict = {
1446}
1447August._superclassnames = []
1448August._privpropdict = {
1449}
1450August._privelemdict = {
1451}
1452booleans._superclassnames = []
1453booleans._privpropdict = {
1454}
1455booleans._privelemdict = {
1456}
1457RGB_colors._superclassnames = []
1458RGB_colors._privpropdict = {
1459}
1460RGB_colors._privelemdict = {
1461}
1462application._superclassnames = []
1463application._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}
1478application._privelemdict = {
1479}
1480upper_case._superclassnames = []
1481upper_case._privpropdict = {
1482}
1483upper_case._privelemdict = {
1484}
1485cubic_centimeters._superclassnames = []
1486cubic_centimeters._privpropdict = {
1487}
1488cubic_centimeters._privelemdict = {
1489}
1490cubic_feet._superclassnames = []
1491cubic_feet._privpropdict = {
1492}
1493cubic_feet._privelemdict = {
1494}
1495characters._superclassnames = []
1496characters._privpropdict = {
1497}
1498characters._privelemdict = {
1499}
1500writing_code_info._superclassnames = []
1501writing_code_info._privpropdict = {
1502    'language_code' : _Prop_language_code,
1503    'script_code' : _Prop_script_code,
1504}
1505writing_code_info._privelemdict = {
1506}
1507text_items._superclassnames = []
1508text_items._privpropdict = {
1509}
1510text_items._privelemdict = {
1511}
1512cubic_meters._superclassnames = []
1513cubic_meters._privpropdict = {
1514}
1515cubic_meters._privelemdict = {
1516}
1517centimeters._superclassnames = []
1518centimeters._privpropdict = {
1519}
1520centimeters._privelemdict = {
1521}
1522item._superclassnames = []
1523item._privpropdict = {
1524    'id' : _Prop_id,
1525}
1526item._privelemdict = {
1527}
1528C_strings._superclassnames = []
1529C_strings._privpropdict = {
1530}
1531C_strings._privelemdict = {
1532}
1533text._superclassnames = []
1534text._privpropdict = {
1535}
1536text._privelemdict = {
1537}
1538cubic_inches._superclassnames = []
1539cubic_inches._privpropdict = {
1540}
1541cubic_inches._privelemdict = {
1542}
1543cubic_yards._superclassnames = []
1544cubic_yards._privpropdict = {
1545}
1546cubic_yards._privelemdict = {
1547}
1548December._superclassnames = []
1549December._privpropdict = {
1550}
1551December._privelemdict = {
1552}
1553degrees_Celsius._superclassnames = []
1554degrees_Celsius._privpropdict = {
1555}
1556degrees_Celsius._privelemdict = {
1557}
1558degrees_Fahrenheit._superclassnames = []
1559degrees_Fahrenheit._privpropdict = {
1560}
1561degrees_Fahrenheit._privelemdict = {
1562}
1563degrees_Kelvin._superclassnames = []
1564degrees_Kelvin._privpropdict = {
1565}
1566degrees_Kelvin._privelemdict = {
1567}
1568reals._superclassnames = []
1569reals._privpropdict = {
1570}
1571reals._privelemdict = {
1572}
1573encoded_strings._superclassnames = []
1574encoded_strings._privpropdict = {
1575}
1576encoded_strings._privelemdict = {
1577}
1578constants._superclassnames = []
1579constants._privpropdict = {
1580}
1581constants._privelemdict = {
1582}
1583events._superclassnames = []
1584events._privpropdict = {
1585}
1586events._privelemdict = {
1587}
1588February._superclassnames = []
1589February._privpropdict = {
1590}
1591February._privelemdict = {
1592}
1593feet._superclassnames = []
1594feet._privpropdict = {
1595}
1596feet._privelemdict = {
1597}
1598Friday._superclassnames = []
1599Friday._privpropdict = {
1600}
1601Friday._privelemdict = {
1602}
1603file_specification._superclassnames = []
1604file_specification._privpropdict = {
1605    'POSIX_path' : _Prop_POSIX_path,
1606}
1607file_specification._privelemdict = {
1608}
1609gallons._superclassnames = []
1610gallons._privpropdict = {
1611}
1612gallons._privelemdict = {
1613}
1614grams._superclassnames = []
1615grams._privpropdict = {
1616}
1617grams._privelemdict = {
1618}
1619handlers._superclassnames = []
1620handlers._privpropdict = {
1621}
1622handlers._privelemdict = {
1623}
1624inches._superclassnames = []
1625inches._privpropdict = {
1626}
1627inches._privelemdict = {
1628}
1629international_text._superclassnames = []
1630international_text._privpropdict = {
1631}
1632international_text._privelemdict = {
1633}
1634international_text._superclassnames = []
1635international_text._privpropdict = {
1636}
1637international_text._privelemdict = {
1638}
1639January._superclassnames = []
1640January._privpropdict = {
1641}
1642January._privelemdict = {
1643}
1644July._superclassnames = []
1645July._privpropdict = {
1646}
1647July._privelemdict = {
1648}
1649June._superclassnames = []
1650June._privpropdict = {
1651}
1652June._privelemdict = {
1653}
1654reference_forms._superclassnames = []
1655reference_forms._privpropdict = {
1656}
1657reference_forms._privelemdict = {
1658}
1659kilograms._superclassnames = []
1660kilograms._privpropdict = {
1661}
1662kilograms._privelemdict = {
1663}
1664kilometers._superclassnames = []
1665kilometers._privpropdict = {
1666}
1667kilometers._privelemdict = {
1668}
1669keystroke._superclassnames = []
1670keystroke._privpropdict = {
1671    'key' : _Prop_key,
1672    'key_kind' : _Prop_key_kind,
1673    'modifiers' : _Prop_modifiers,
1674}
1675keystroke._privelemdict = {
1676}
1677pounds._superclassnames = []
1678pounds._privpropdict = {
1679}
1680pounds._privelemdict = {
1681}
1682date._superclassnames = []
1683date._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}
1692date._privelemdict = {
1693}
1694list._superclassnames = []
1695list._privpropdict = {
1696    'length' : _Prop_length,
1697    'rest' : _Prop_rest,
1698    'reverse' : _Prop_reverse,
1699}
1700list._privelemdict = {
1701}
1702liters._superclassnames = []
1703liters._privpropdict = {
1704}
1705liters._privelemdict = {
1706}
1707linked_list._superclassnames = []
1708linked_list._privpropdict = {
1709    'length' : _Prop_length,
1710}
1711linked_list._privelemdict = {
1712}
1713integers._superclassnames = []
1714integers._privpropdict = {
1715}
1716integers._privelemdict = {
1717}
1718list_or_record._superclassnames = []
1719list_or_record._privpropdict = {
1720}
1721list_or_record._privelemdict = {
1722}
1723list_2c__record_or_text._superclassnames = []
1724list_2c__record_or_text._privpropdict = {
1725}
1726list_2c__record_or_text._privelemdict = {
1727}
1728list_or_string._superclassnames = []
1729list_or_string._privpropdict = {
1730}
1731list_or_string._privelemdict = {
1732}
1733machines._superclassnames = []
1734machines._privpropdict = {
1735}
1736machines._privelemdict = {
1737}
1738March._superclassnames = []
1739March._privpropdict = {
1740}
1741March._privelemdict = {
1742}
1743May._superclassnames = []
1744May._privpropdict = {
1745}
1746May._privelemdict = {
1747}
1748meters._superclassnames = []
1749meters._privpropdict = {
1750}
1751meters._privelemdict = {
1752}
1753miles._superclassnames = []
1754miles._privpropdict = {
1755}
1756miles._privelemdict = {
1757}
1758months._superclassnames = []
1759months._privpropdict = {
1760}
1761months._privelemdict = {
1762}
1763Monday._superclassnames = []
1764Monday._privpropdict = {
1765}
1766Monday._privelemdict = {
1767}
1768missing_values._superclassnames = []
1769missing_values._privpropdict = {
1770}
1771missing_values._privelemdict = {
1772}
1773number_or_date._superclassnames = []
1774number_or_date._privpropdict = {
1775}
1776number_or_date._privelemdict = {
1777}
1778number_2c__date_or_text._superclassnames = []
1779number_2c__date_or_text._privpropdict = {
1780}
1781number_2c__date_or_text._privelemdict = {
1782}
1783numbers._superclassnames = []
1784numbers._privpropdict = {
1785}
1786numbers._privelemdict = {
1787}
1788November._superclassnames = []
1789November._privpropdict = {
1790}
1791November._privelemdict = {
1792}
1793number_or_string._superclassnames = []
1794number_or_string._privpropdict = {
1795}
1796number_or_string._privelemdict = {
1797}
1798references._superclassnames = []
1799references._privpropdict = {
1800}
1801references._privelemdict = {
1802}
1803October._superclassnames = []
1804October._privpropdict = {
1805}
1806October._privelemdict = {
1807}
1808ounces._superclassnames = []
1809ounces._privpropdict = {
1810}
1811ounces._privelemdict = {
1812}
1813class_._superclassnames = ['type_class']
1814class_._privpropdict = {
1815    '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
1816}
1817class_._privelemdict = {
1818}
1819prepositions._superclassnames = []
1820prepositions._privpropdict = {
1821}
1822prepositions._privelemdict = {
1823}
1824properties._superclassnames = []
1825properties._privpropdict = {
1826}
1827properties._privelemdict = {
1828}
1829writing_code._superclassnames = []
1830writing_code._privpropdict = {
1831}
1832writing_code._privelemdict = {
1833}
1834Pascal_strings._superclassnames = []
1835Pascal_strings._privpropdict = {
1836}
1837Pascal_strings._privelemdict = {
1838}
1839quarts._superclassnames = []
1840quarts._privpropdict = {
1841}
1842quarts._privelemdict = {
1843}
1844data._superclassnames = []
1845data._privpropdict = {
1846}
1847data._privelemdict = {
1848}
1849records._superclassnames = []
1850records._privpropdict = {
1851}
1852records._privelemdict = {
1853}
1854Saturday._superclassnames = []
1855Saturday._privpropdict = {
1856}
1857Saturday._privelemdict = {
1858}
1859seconds._superclassnames = []
1860seconds._privpropdict = {
1861}
1862seconds._privelemdict = {
1863}
1864script._superclassnames = []
1865script._privpropdict = {
1866    'name' : _Prop_name,
1867    'parent' : _Prop_parent,
1868}
1869script._privelemdict = {
1870}
1871September._superclassnames = []
1872September._privpropdict = {
1873}
1874September._privelemdict = {
1875}
1876alias_or_string._superclassnames = []
1877alias_or_string._privpropdict = {
1878}
1879alias_or_string._privelemdict = {
1880}
1881sounds._superclassnames = []
1882sounds._privpropdict = {
1883}
1884sounds._privelemdict = {
1885}
1886square_feet._superclassnames = []
1887square_feet._privpropdict = {
1888}
1889square_feet._privelemdict = {
1890}
1891square_kilometers._superclassnames = []
1892square_kilometers._privpropdict = {
1893}
1894square_kilometers._privelemdict = {
1895}
1896square_miles._superclassnames = []
1897square_miles._privpropdict = {
1898}
1899square_miles._privelemdict = {
1900}
1901square_meters._superclassnames = []
1902square_meters._privpropdict = {
1903}
1904square_meters._privelemdict = {
1905}
1906square_yards._superclassnames = []
1907square_yards._privpropdict = {
1908}
1909square_yards._privelemdict = {
1910}
1911styled_Clipboard_text._superclassnames = []
1912styled_Clipboard_text._privpropdict = {
1913}
1914styled_Clipboard_text._privelemdict = {
1915}
1916styled_Clipboard_text._superclassnames = []
1917styled_Clipboard_text._privpropdict = {
1918}
1919styled_Clipboard_text._privelemdict = {
1920}
1921Sunday._superclassnames = []
1922Sunday._privpropdict = {
1923}
1924Sunday._privelemdict = {
1925}
1926styled_Unicode_text._superclassnames = []
1927styled_Unicode_text._privpropdict = {
1928}
1929styled_Unicode_text._privelemdict = {
1930}
1931styled_Unicode_text._superclassnames = []
1932styled_Unicode_text._privpropdict = {
1933}
1934styled_Unicode_text._privelemdict = {
1935}
1936Thursday._superclassnames = []
1937Thursday._privpropdict = {
1938}
1939Thursday._privelemdict = {
1940}
1941Tuesday._superclassnames = []
1942Tuesday._privpropdict = {
1943}
1944Tuesday._privelemdict = {
1945}
1946type_class._superclassnames = []
1947type_class._privpropdict = {
1948}
1949type_class._privelemdict = {
1950}
1951empty_ae_name_._superclassnames = []
1952empty_ae_name_._privpropdict = {
1953}
1954empty_ae_name_._privelemdict = {
1955}
1956Unicode_text._superclassnames = []
1957Unicode_text._privpropdict = {
1958}
1959Unicode_text._privelemdict = {
1960}
1961Unicode_text._superclassnames = []
1962Unicode_text._privpropdict = {
1963}
1964Unicode_text._privelemdict = {
1965}
1966vector._superclassnames = []
1967vector._privpropdict = {
1968    'length' : _Prop_length,
1969}
1970vector._privelemdict = {
1971}
1972version._superclassnames = []
1973version._privpropdict = {
1974}
1975version._privelemdict = {
1976}
1977Wednesday._superclassnames = []
1978Wednesday._privpropdict = {
1979}
1980Wednesday._privelemdict = {
1981}
1982weekdays._superclassnames = []
1983weekdays._privpropdict = {
1984}
1985weekdays._privelemdict = {
1986}
1987yards._superclassnames = []
1988yards._privpropdict = {
1989}
1990yards._privelemdict = {
1991}
1992zones._superclassnames = []
1993zones._privpropdict = {
1994}
1995zones._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}