PageRenderTime 55ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

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

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