aetools
index
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/aetools.py
Module Docs

Tools for use in AppleEvent clients and servers.
 
pack(x) converts a Python object to an AEDesc object
unpack(desc) does the reverse
 
packevent(event, parameters, attributes) sets params and attrs in an AEAppleEvent record
unpackevent(event) returns the parameters and attributes from an AEAppleEvent record
 
Plus...  Lots of classes and routines that help representing AE objects,
ranges, conditionals, logicals, etc., so you can write, e.g.:
 
    x = Character(1, Document("foobar"))
 
and pack(x) will create an AE object reference equivalent to AppleScript's
 
    character 1 of document "foobar"
 
Some of the stuff that appears to be exported from this module comes from other
files: the pack stuff from aepack, the objects from aetypes.

 
Modules
       
Carbon.AE
Carbon.AppleEvents
Carbon.Evt
MacOS
string
struct
sys
time

 
Classes
       
TalkTo

 
class TalkTo
    An AE connection to an application
 
  Methods defined here:
__getattr__(self, name)
__init__(self, signature=None, start=0, timeout=0)
Create a communication channel with a particular application.
 
Addressing the application is done by specifying either a
4-byte signature, an AEDesc or an object that will __aepack__
to an AEDesc.
activate(self)
Send 'activate' command
get = _get(self, _object, asfile=None, _attributes={})
newevent(self, code, subcode, parameters={}, attributes={})
Create a complete structure for an apple event
send(self, code, subcode, parameters={}, attributes={})
Send an appleevent given code/subcode/pars/attrs and unpack the reply
sendevent(self, event)
Send a pre-created appleevent, await the reply and unpack it
set = _set(self, _object, _attributes={}, **_arguments)
start(self)
Deprecated, used _start()

 
Functions
       
decodeerror(arguments)
Create the 'best' argument for a raise MacOS.Error
enumsubst(arguments, key, edict)
Substitute a single enum keyword argument, if it occurs
keysubst(arguments, keydict)
Replace long name keys by their 4-char counterparts, and check
missed(ae)
packevent(ae, parameters={}, attributes={})
test()
unpackevent(ae, formodulename='')

 
Data
        Error = 'aetools.Error'
KAEISHandleCGI = 'sdoc'
LAUNCH_MAX_WAIT_TIME = 10
StringTypes = (<type 'str'>, <type 'unicode'>)
aekeywords = ['tran', 'rtid', 'evcl', 'evid', 'addr', 'optk', 'timo', 'inte', 'esrc', 'miss', 'from']
cADBAddress = 'cadb'
cAEList = 'list'
cAddressSpec = 'cadr'
cAppleTalkAddress = 'cat '
cApplication = 'capp'
cArc = 'carc'
cBoolean = 'bool'
cBusAddress = 'cbus'
cCell = 'ccel'
cChar = 'cha '
cColorTable = 'clrt'
cColumn = 'ccol'
cDevSpec = 'cdev'
cDocument = 'docu'
cDrawingArea = 'cdrw'
cEnumeration = 'enum'
cEthernetAddress = 'cen '
cFTPItem = 'ftp '
cFile = 'file'
cFireWireAddress = 'cfw '
cFixed = 'fixd'
cFixedPoint = 'fpnt'
cFixedRectangle = 'frct'
cGraphicLine = 'glin'
cGraphicObject = 'cgob'
cGraphicShape = 'cgsh'
cGraphicText = 'cgtx'
cGroupedGraphic = 'cpic'
cHTML = 'html'
cIPAddress = 'cip '
cInsertionLoc = 'insl'
cInsertionPoint = 'cins'
cInternetAddress = 'IPAD'
cIntlText = 'itxt'
cIntlWritingCode = 'intl'
cItem = 'citm'
cKeystroke = 'kprs'
cLine = 'clin'
cLocalTalkAddress = 'clt '
cLongDateTime = 'ldt '
cLongFixed = 'lfxd'
cLongFixedPoint = 'lfpt'
cLongFixedRectangle = 'lfrc'
cLongInteger = 'long'
cLongPoint = 'lpnt'
cLongRectangle = 'lrct'
cMachineLoc = 'mLoc'
cMenu = 'cmnu'
cMenuItem = 'cmen'
cObject = 'cobj'
cObjectSpecifier = 'obj '
cOpenableObject = 'coob'
cOval = 'covl'
cPICT = 'PICT'
cParagraph = 'cpar'
cPixel = 'cpxl'
cPixelMap = 'cpix'
cPolygon = 'cpgn'
cProperty = 'prop'
cQDPoint = 'QDpt'
cQDRectangle = 'qdrt'
cRGBColor = 'cRGB'
cRectangle = 'crec'
cRotation = 'trot'
cRoundedRectangle = 'crrc'
cRow = 'crow'
cSCSIAddress = 'cscs'
cSelection = 'csel'
cShortInteger = 'shor'
cTable = 'ctbl'
cText = 'ctxt'
cTextFlow = 'cflo'
cTextStyles = 'tsty'
cTokenRingAddress = 'ctok'
cType = 'type'
cURL = 'url '
cUSBAddress = 'cusb'
cVersion = 'vers'
cWindow = 'cwin'
cWord = 'cwor'
eADB = 'eadb'
eAddressSpec = 'eads'
eAnalogAudio = 'epau'
eAppleTalk = 'epat'
eAudioLineIn = 'ecai'
eAudioLineOut = 'ecal'
eAudioOut = 'ecao'
eBus = 'ebus'
eCDROM = 'ecd '
eCapsLockDown = 'Kclk'
eClearKey = 1802716928
eCommSlot = 'eccm'
eCommandDown = 'Kcmd'
eConduit = 'econ'
eControlDown = 'Kctl'
eDVD = 'edvd'
eDeleteKey = 1802711808
eDeviceType = 'edvt'
eDigitalAudio = 'epda'
eDisplay = 'edds'
eDownArrowKey = 1802730752
eEndKey = 1802729216
eEnterKey = 1802718208
eEscapeKey = 1802712320
eEthernet = 'ecen'
eF10Key = 1802726656
eF11Key = 1802725120
eF12Key = 1802727168
eF13Key = 1802725632
eF14Key = 1802726144
eF15Key = 1802727680
eF1Key = 1802729984
eF2Key = 1802729472
eF3Key = 1802724096
eF4Key = 1802728960
eF5Key = 1802723328
eF6Key = 1802723584
eF7Key = 1802723840
eF8Key = 1802724352
eF9Key = 1802724608
eFireWire = 'ecfw'
eFloppy = 'efd '
eForwardDelKey = 1802728704
eHD = 'ehd '
eHelpKey = 1802727936
eHomeKey = 1802728192
eIP = 'epip'
eIRTalk = 'epit'
eInfrared = 'ecir'
eIrDA = 'epir'
eKeyKind = 'ekst'
eKeyboard = 'ekbd'
eLCD = 'edlc'
eLeftArrowKey = 1802730240
eLocalTalk = 'eclt'
eMacIP = 'epmi'
eMacVideo = 'epmv'
eMicrophone = 'ecmi'
eModem = 'edmm'
eModemPort = 'ecmp'
eModemPrinterPort = 'empp'
eModifiers = 'eMds'
eMonitorOut = 'ecmn'
eMouse = 'emou'
eNuBus = 'enub'
eNuBusCard = 'ednb'
eOptionDown = 'Kopt'
ePCIbus = 'ecpi'
ePCIcard = 'edpi'
ePCcard = 'ecpc'
ePDScard = 'epds'
ePDSslot = 'ecpd'
ePPP = 'eppp'
ePageDownKey = 1802729728
ePageUpKey = 1802728448
ePointingDevice = 'edpd'
ePostScript = 'epps'
ePrinter = 'edpr'
ePrinterPort = 'ecpp'
eProtocol = 'epro'
eReturnKey = 1802707968
eRightArrowKey = 1802730496
eSCSI = 'ecsc'
eSVGA = 'epsg'
eScheme = 'esch'
eSerial = 'epsr'
eShiftDown = 'Ksft'
eSpeakers = 'edsp'
eStorageDevice = 'edst'
eSvideo = 'epsv'
eTabKey = 1802711040
eTokenRing = 'etok'
eTrackball = 'etrk'
eTrackpad = 'edtp'
eUSB = 'ecus'
eUpArrowKey = 1802731008
eVideoIn = 'ecvi'
eVideoMonitor = 'edvm'
eVideoOut = 'ecvo'
enumArrows = 'arro'
enumJustification = 'just'
enumKeyForm = 'kfrm'
enumPosition = 'posi'
enumProtection = 'prtn'
enumQuality = 'qual'
enumSaveOptions = 'savo'
enumStyle = 'styl'
enumTransferMode = 'tran'
eurlAFP = 'afp '
eurlAT = 'at '
eurlEPPC = 'eppc'
eurlFTP = 'ftp '
eurlFile = 'file'
eurlGopher = 'gphr'
eurlHTTP = 'http'
eurlHTTPS = 'htps'
eurlIMAP = 'imap'
eurlLDAP = 'uldp'
eurlLaunch = 'laun'
eurlMail = 'mail'
eurlMailbox = 'mbox'
eurlMessage = 'mess'
eurlMulti = 'mult'
eurlNFS = 'unfs'
eurlNNTP = 'nntp'
eurlNews = 'news'
eurlPOP = 'upop'
eurlRTSP = 'rtsp'
eurlSNews = 'snws'
eurlTelnet = 'tlnt'
eurlUnknown = 'url?'
formAbsolutePosition = 'indx'
formName = 'name'
formPropertyID = 'prop'
formRange = 'rang'
formRelativePosition = 'rele'
formTest = 'test'
formUniqueID = 'ID '
formWhose = 'whos'
kAEAND = 'AND '
kAEAbout = 'abou'
kAEActivate = 'actv'
kAEAfter = 'afte'
kAEAliasSelection = 'sali'
kAEAll = 'all '
kAEAllCaps = 'alcp'
kAEAlwaysInteract = 48
kAEAnswer = 'ansr'
kAEAny = 'any '
kAEApplicationClass = 'appl'
kAEApplicationDied = 'obit'
kAEArrowAtEnd = 'aren'
kAEArrowAtStart = 'arst'
kAEArrowBothEnds = 'arbo'
kAEAsk = 'ask '
kAEAutoDown = 'auto'
kAEBefore = 'befo'
kAEBeginTransaction = 'begi'
kAEBeginning = 'bgng'
kAEBeginsWith = 'bgwt'
kAEBold = 'bold'
kAECanInteract = 32
kAECanSwitchLayer = 64
kAECaseSensEquals = 'cseq'
kAECentered = 'cent'
kAEChangeView = 'view'
kAEClone = 'clon'
kAEClose = 'clos'
kAECommandClass = 'cmnd'
kAECondensed = 'cond'
kAEContains = 'cont'
kAECopy = 'copy'
kAECoreSuite = 'core'
kAECountElements = 'cnte'
kAECreateElement = 'crel'
kAECreatePublisher = 'cpub'
kAECut = 'cut '
kAEDataArray = 0
kAEDeactivate = 'dact'
kAEDefaultTimeout = -1
kAEDelete = 'delo'
kAEDescArray = 3
kAEDescListFactorNone = 0
kAEDescListFactorType = 4
kAEDescListFactorTypeAndSize = 8
kAEDirectCall = 1
kAEDiskEvent = 'disk'
kAEDoNotIgnoreHandler = 0
kAEDoObjectsExist = 'doex'
kAEDoScript = 'dosc'
kAEDontExecute = 8192
kAEDontReconnect = 128
kAEDontRecord = 4096
kAEDown = 'down'
kAEDrag = 'drag'
kAEDuplicateSelection = 'sdup'
kAEEditGraphic = 'edit'
kAEEmptyTrash = 'empt'
kAEEnd = 'end '
kAEEndTransaction = 'endt'
kAEEndsWith = 'ends'
kAEEquals = '= '
kAEExpanded = 'pexp'
kAEFast = 'fast'
kAEFinderEvents = 'FNDR'
kAEFirst = 'firs'
kAEFormulaProtect = 'fpro'
kAEFullyJustified = 'full'
kAEGetClassInfo = 'qobj'
kAEGetData = 'getd'
kAEGetDataSize = 'dsiz'
kAEGetEventInfo = 'gtei'
kAEGetInfoSelection = 'sinf'
kAEGetPrivilegeSelection = 'sprv'
kAEGetSuiteInfo = 'gtsi'
kAEGreaterThan = '> '
kAEGreaterThanEquals = '>= '
kAEGrow = 'grow'
kAEHandleArray = 2
kAEHandleSimpleRanges = 32
kAEHiQuality = 'hiqu'
kAEHidden = 'hidn'
kAEHighLevel = 'high'
kAEHighPriority = 1
kAEIDoMarking = 4
kAEIDoMinimum = 0
kAEIDoWhose = 1
kAEISAction = 'Kact'
kAEISActionPath = 'Kapt'
kAEISClientAddress = 'addr'
kAEISClientIP = 'Kcip'
kAEISContentType = 'ctyp'
kAEISFromUser = 'frmu'
kAEISFullRequest = 'Kfrq'
kAEISGetURL = 'gurl'
kAEISHTTPSearchArgs = 'kfor'
kAEISMethod = 'meth'
kAEISPassword = 'pass'
kAEISPostArgs = 'post'
kAEISReferrer = 'refr'
kAEISScriptName = 'scnm'
kAEISServerName = 'svnm'
kAEISServerPort = 'svpt'
kAEISUserAgent = 'Agnt'
kAEISUserName = 'user'
kAEISWebStarSuite = 'WWW\xbd'
kAEIgnoreAppEventHandler = 2
kAEIgnoreAppPhacHandler = 1
kAEIgnoreSysEventHandler = 8
kAEIgnoreSysPhacHandler = 4
kAEImageGraphic = 'imgr'
kAEInfo = 11
kAEIngoreBuiltInEventHandler = 16
kAEInteractWithAll = 2
kAEInteractWithLocal = 1
kAEInteractWithSelf = 0
kAEInternetSuite = 'gurl'
kAEIsUniform = 'isun'
kAEItalic = 'ital'
kAEKeyClass = 'keyc'
kAEKeyDescArray = 4
kAEKeyDown = 'kdwn'
kAELast = 'last'
kAELeftJustified = 'left'
kAELessThan = '< '
kAELessThanEquals = '<= '
kAELocalProcess = 3
kAELowercase = 'lowc'
kAEMain = 0
kAEMakeObjectsVisible = 'mvis'
kAEMenuClass = 'menu'
kAEMenuSelect = 'mhit'
kAEMiddle = 'midd'
kAEMiscStandards = 'misc'
kAEModifiable = 'modf'
kAEMouseClass = 'mous'
kAEMouseDown = 'mdwn'
kAEMouseDownInBack = 'mdbk'
kAEMove = 'move'
kAEMoved = 'move'
kAENOT = 'NOT '
kAENavigationKey = 'nave'
kAENeverInteract = 16
kAENext = 'next'
kAENo = 'no '
kAENoArrow = 'arno'
kAENoDispatch = 0
kAENoReply = 1
kAENonmodifiable = 'nmod'
kAENormalPriority = 0
kAENotifyRecording = 'recr'
kAENotifyStartRecording = 'rec1'
kAENotifyStopRecording = 'rec0'
kAENullEvent = 'null'
kAEOR = 'OR '
kAEOpen = 'odoc'
kAEOpenApplication = 'oapp'
kAEOpenDocuments = 'odoc'
kAEOpenSelection = 'sope'
kAEOutline = 'outl'
kAEPackedArray = 1
kAEPageSetup = 'pgsu'
kAEPassSubDescs = 8
kAEPaste = 'past'
kAEPlain = 'plan'
kAEPrevious = 'prev'
kAEPrint = 'pdoc'
kAEPrintDocuments = 'pdoc'
kAEPrintSelection = 'spri'
kAEPrintWindow = 'pwin'
kAEProcessNonReplyEvents = 32768
kAEPromise = 'prom'
kAEPutAwaySelection = 'sput'
kAEQDAdMax = 'admx'
kAEQDAdMin = 'admn'
kAEQDAddOver = 'addo'
kAEQDAddPin = 'addp'
kAEQDBic = 'bic '
kAEQDBlend = 'blnd'
kAEQDCopy = 'cpy '
kAEQDNotBic = 'nbic'
kAEQDNotCopy = 'ncpy'
kAEQDNotOr = 'ntor'
kAEQDNotXor = 'nxor'
kAEQDOr = 'or '
kAEQDSubOver = 'subo'
kAEQDSubPin = 'subp'
kAEQDSupplementalSuite = 'qdsp'
kAEQDXor = 'xor '
kAEQueueReply = 2
kAEQuickdrawSuite = 'qdrw'
kAEQuitAll = 'quia'
kAEQuitApplication = 'quit'
kAERawKey = 'rkey'
kAERedo = 'redo'
kAERegular = 'regl'
kAERemoteProcess = 4
kAEReopenApplication = 'rapp'
kAEReplace = 'rplc'
kAERequiredSuite = 'reqd'
kAEResized = 'rsiz'
kAEResolveNestedLists = 16
kAERestart = 'rest'
kAEResume = 'rsme'
kAERevealSelection = 'srev'
kAERevert = 'rvrt'
kAERightJustified = 'rght'
kAESameProcess = 2
kAESave = 'save'
kAEScrapEvent = 'scrp'
kAESelect = 'slct'
kAESetData = 'setd'
kAESetPosition = 'posn'
kAEShadow = 'shad'
kAESharing = 13
kAEShowClipboard = 'shcl'
kAEShowPreferences = 'pref'
kAEShutDown = 'shut'
kAESleep = 'slep'
kAESmallCaps = 'smcp'
kAESpecialClassProperties = 'c@#!'
kAEStartRecording = 'reca'
kAEStopRecording = 'recc'
kAEStoppedMoving = 'stop'
kAEStrikethrough = 'strk'
kAESubscript = 'sbsc'
kAESuperscript = 'spsc'
kAESuspend = 'susp'
kAETableSuite = 'tbls'
kAETextSuite = 'TEXT'
kAETransactionTerminated = 'ttrm'
kAEUnderline = 'undl'
kAEUndo = 'undo'
kAEUnknownSource = 0
kAEUp = 'up '
kAEUpdate = 'updt'
kAEUseRelativeIterators = 64
kAEVirtualKey = 'keyc'
kAEWaitReply = 3
kAEWakeUpEvent = 'wake'
kAEWantReceipt = 512
kAEWholeWordEquals = 'wweq'
kAEWindowClass = 'wind'
kAEYes = 'yes '
kAEZoom = 'zoom'
kAEZoomIn = 7
kAEZoomOut = 8
kAnyTransactionID = 0
kAutoGenerateReturnID = -1
kBlockFillText = 6
kByCommentView = 6
kByDateView = 3
kByIconView = 1
kByKindView = 5
kByLabelView = 7
kByNameView = 2
kBySizeView = 4
kBySmallIcon = 0
kByVersionView = 8
kCaretPosition = 1
kConnSuite = 'macc'
kConvertedText = 4
kCoreEventClass = 'aevt'
kDoFolderActionEvent = 'fola'
kFAAttachCommand = 'atfa'
kFAEditCommand = 'edfa'
kFAFileParam = 'faal'
kFAIndexParam = 'indx'
kFARemoveCommand = 'rmfa'
kFAServerApp = 'ssrv'
kFASuiteCode = 'faco'
kFolderActionCode = 'actn'
kFolderClosedEvent = 'fclo'
kFolderItemsAddedEvent = 'fget'
kFolderItemsRemovedEvent = 'flos'
kFolderOpenedEvent = 'fopn'
kFolderWindowMovedEvent = 'fsiz'
kGetSelectedText = 'gtxt'
kItemList = 'flst'
kNewSizeParameter = 'fnsz'
kNextBody = 1
kNoTimeOut = -2
kOffset2Pos = 'st2p'
kOutlineText = 7
kPos2Offset = 'p2st'
kPreviousBody = 2
kRawText = 2
kSelectedConvertedText = 5
kSelectedRawText = 3
kSelectedText = 8
kShowHideInputWindow = 'shiw'
kTSMInsideOfActiveInputArea = 3
kTSMInsideOfBody = 2
kTSMOutsideOfBody = 1
kTextServiceClass = 'tsvc'
kUnicodeNotFromInputMethod = 'unim'
kUpdateActiveInputArea = 'updt'
keyAEAdjustMarksProc = 'adjm'
keyAEAngle = 'kang'
keyAEArcAngle = 'parc'
keyAEBaseAddr = 'badd'
keyAEBestType = 'pbst'
keyAEBgndColor = 'kbcl'
keyAEBgndPattern = 'kbpt'
keyAEBounds = 'pbnd'
keyAEBufferSize = 'buff'
keyAECellList = 'kclt'
keyAEClassID = 'clID'
keyAEClauseOffsets = 'clau'
keyAEColor = 'colr'
keyAEColorTable = 'cltb'
keyAECompOperator = 'relo'
keyAECompareProc = 'cmpr'
keyAEContainer = 'from'
keyAECountProc = 'cont'
keyAECurrentPoint = 'cpos'
keyAECurveHeight = 'kchd'
keyAECurveWidth = 'kcwd'
keyAEDashStyle = 'pdst'
keyAEData = 'data'
keyAEDefaultType = 'deft'
keyAEDefinitionRect = 'pdrt'
keyAEDescType = 'dstp'
keyAEDesiredClass = 'want'
keyAEDestination = 'dest'
keyAEDoAntiAlias = 'anta'
keyAEDoDithered = 'gdit'
keyAEDoRotate = 'kdrt'
keyAEDoScale = 'ksca'
keyAEDoTranslate = 'ktra'
keyAEDragging = 'bool'
keyAEEditionFileLoc = 'eloc'
keyAEElements = 'elms'
keyAEEndPoint = 'pend'
keyAEEventClass = 'evcl'
keyAEEventID = 'evti'
keyAEFile = 'kfil'
keyAEFileType = 'fltp'
keyAEFillColor = 'flcl'
keyAEFillPattern = 'flpt'
keyAEFixLength = 'fixl'
keyAEFlipHorizontal = 'kfho'
keyAEFlipVertical = 'kfvt'
keyAEFont = 'font'
keyAEFormula = 'pfor'
keyAEGetErrDescProc = 'indc'
keyAEGraphicObjects = 'gobs'
keyAEHiliteRange = 'hrng'
keyAEID = 'ID '
keyAEImageQuality = 'gqua'
keyAEIndex = 'kidx'
keyAEInsertHere = 'insh'
keyAEKeyData = 'seld'
keyAEKeyForm = 'form'
keyAEKeyForms = 'keyf'
keyAEKeyword = 'kywd'
keyAELeadingEdge = 'klef'
keyAELeftSide = 'klef'
keyAELevel = 'levl'
keyAELineArrow = 'arro'
keyAELogicalOperator = 'logc'
keyAELogicalTerms = 'term'
keyAEMarkProc = 'mark'
keyAEMarkTokenProc = 'mkid'
keyAEMoveView = 'mvvw'
keyAEName = 'pnam'
keyAENewElementLoc = 'pnel'
keyAENextBody = 'nxbd'
keyAEObject = 'kobj'
keyAEObject1 = 'obj1'
keyAEObject2 = 'obj2'
keyAEObjectClass = 'kocl'
keyAEOffStyles = 'ofst'
keyAEOffset = 'ofst'
keyAEOnStyles = 'onst'
keyAEPMTable = 'kpmt'
keyAEParamFlags = 'pmfg'
keyAEParameters = 'prms'
keyAEPenColor = 'ppcl'
keyAEPenPattern = 'pppa'
keyAEPenWidth = 'ppwd'
keyAEPinRange = 'pnrg'
keyAEPixMapMinus = 'kpmm'
keyAEPixelDepth = 'pdpt'
keyAEPoint = 'gpos'
keyAEPointList = 'ptlt'
keyAEPointSize = 'ptsz'
keyAEPosition = 'kpos'
keyAEPropData = 'prdt'
keyAEPropFlags = 'prfg'
keyAEPropID = 'prop'
keyAEProperties = 'qpro'
keyAEProperty = 'kprp'
keyAEProtection = 'ppro'
keyAERangeStart = 'star'
keyAERangeStop = 'stop'
keyAERecorderCount = 'recr'
keyAERegionClass = 'rgnc'
keyAERenderAs = 'kren'
keyAERequestedType = 'rtyp'
keyAEResult = '----'
keyAEResultInfo = 'rsin'
keyAERotPoint = 'krtp'
keyAERotation = 'prot'
keyAERowList = 'krls'
keyAESaveOptions = 'savo'
keyAEScale = 'pscl'
keyAEScriptTag = 'psct'
keyAEServerInstance = 'srvi'
keyAEShowWhere = 'show'
keyAEStartAngle = 'pang'
keyAEStartPoint = 'pstp'
keyAEStyles = 'ksty'
keyAESuiteID = 'suit'
keyAETSMDocumentRefcon = 'refc'
keyAETSMEventRecord = 'tevt'
keyAETSMEventRef = 'tevr'
keyAETSMScriptTag = 'sclg'
keyAETSMTextFMFont = 'ktxm'
keyAETSMTextFont = 'ktxf'
keyAETSMTextPointSize = 'ktps'
keyAETest = 'ktst'
keyAEText = 'ktxt'
keyAETextColor = 'ptxc'
keyAETextFont = 'ptxf'
keyAETextLineAscent = 'ktas'
keyAETextLineHeight = 'ktlh'
keyAETextPointSize = 'ptps'
keyAETextServiceEncoding = 'tsen'
keyAETextServiceMacEncoding = 'tmen'
keyAETextStyles = 'txst'
keyAETheData = 'kdat'
keyAETheText = 'thtx'
keyAETransferMode = 'pptm'
keyAETranslation = 'ptrs'
keyAETryAsStructGraf = 'toog'
keyAEUniformStyles = 'ustl'
keyAEUpdateOn = 'pupd'
keyAEUpdateRange = 'udng'
keyAEUserTerm = 'utrm'
keyAEVersion = 'vers'
keyAEWhoseRangeStart = 'wstr'
keyAEWhoseRangeStop = 'wstp'
keyAEWindow = 'wndw'
keyAEWritingCode = 'wrcd'
keyAcceptTimeoutAttr = 'actm'
keyAddressAttr = 'addr'
keyCloseAllWindows = 'caw '
keyDirectObject = '----'
keyDisposeTokenProc = 'xtok'
keyDriveNumber = 'drv#'
keyErrorCode = 'err#'
keyErrorNumber = 'errn'
keyErrorString = 'errs'
keyEventClassAttr = 'evcl'
keyEventIDAttr = 'evid'
keyEventSourceAttr = 'esrc'
keyHighLevelClass = 'hcls'
keyHighLevelID = 'hid '
keyInteractLevelAttr = 'inte'
keyKey = 'key '
keyKeyCode = 'code'
keyKeyboard = 'keyb'
keyLocalWhere = 'lwhr'
keyMenuID = 'mid '
keyMenuItem = 'mitm'
keyMiscellaneous = 'fmsc'
keyMissedKeywordAttr = 'miss'
keyModifiers = 'mods'
keyNewBounds = 'nbnd'
keyOptionalKeywordAttr = 'optk'
keyOriginalAddressAttr = 'from'
keyOriginalBounds = 'obnd'
keyPreDispatch = 'phac'
keyProcessSerialNumber = 'psn '
keyReturnIDAttr = 'rtid'
keySelectProc = 'selh'
keySelection = 'fsel'
keyTimeoutAttr = 'timo'
keyTransactionIDAttr = 'tran'
keyWhen = 'when'
keyWhere = 'wher'
keyWindow = 'kwnd'
pATMachine = 'patm'
pATType = 'patt'
pATZone = 'patz'
pArcAngle = 'parc'
pBackgroundColor = 'pbcl'
pBackgroundPattern = 'pbpt'
pBestType = 'pbst'
pBounds = 'pbnd'
pClass = 'pcls'
pClipboard = 'pcli'
pColor = 'colr'
pColorTable = 'cltb'
pConduit = 'pcon'
pContents = 'pcnt'
pCornerCurveHeight = 'pchd'
pCornerCurveWidth = 'pcwd'
pDNS = 'pdns'
pDNSForm = 'pDNS'
pDashStyle = 'pdst'
pDefaultType = 'deft'
pDefinitionRect = 'pdrt'
pDeviceAddress = 'pdva'
pDeviceType = 'pdvt'
pDottedDecimal = 'pipd'
pEnabled = 'enbl'
pEndPoint = 'pend'
pFTPKind = 'kind'
pFillColor = 'flcl'
pFillPattern = 'flpt'
pFont = 'font'
pFormula = 'pfor'
pGraphicObjects = 'gobs'
pHasCloseBox = 'hclb'
pHasTitleBar = 'ptit'
pHost = 'HOST'
pID = 'ID '
pIndex = 'pidx'
pInsertionLoc = 'pins'
pIsFloating = 'isfl'
pIsFrontProcess = 'pisf'
pIsModal = 'pmod'
pIsModified = 'imod'
pIsResizable = 'prsz'
pIsStationeryPad = 'pspd'
pIsZoomable = 'iszm'
pIsZoomed = 'pzum'
pItemNumber = 'itmn'
pJustification = 'pjst'
pKeyKind = 'kknd'
pKeystrokeKey = 'kMsg'
pLineArrow = 'arro'
pMenuID = 'mnid'
pModifiers = 'kMod'
pName = 'pnam'
pNetwork = 'pnet'
pNewElementLoc = 'pnel'
pNode = 'pnod'
pPath = 'FTPc'
pPenColor = 'ppcl'
pPenPattern = 'pppa'
pPenWidth = 'ppwd'
pPixelDepth = 'pdpt'
pPointList = 'ptlt'
pPointSize = 'ptsz'
pPort = 'ppor'
pProtection = 'ppro'
pProtocol = 'pprt'
pRotation = 'prot'
pSCSIBus = 'pscb'
pSCSILUN = 'pslu'
pScale = 'pscl'
pScheme = 'pusc'
pScript = 'scpt'
pScriptTag = 'psct'
pSelected = 'selc'
pSelection = 'sele'
pSocket = 'psoc'
pStartAngle = 'pang'
pStartPoint = 'pstp'
pTextColor = 'ptxc'
pTextEncoding = 'ptxe'
pTextFont = 'ptxf'
pTextItemDelimiters = 'txdl'
pTextPointSize = 'ptps'
pTextStyles = 'txst'
pTransferMode = 'pptm'
pTranslation = 'ptrs'
pURL = 'pURL'
pUniformStyles = 'ustl'
pUpdateOn = 'pupd'
pUserName = 'RAun'
pUserPassword = 'RApw'
pUserSelection = 'pusl'
pVersion = 'vers'
pVisible = 'pvis'
template = "\nclass %s(ComponentItem): want = '%s'\n"
type128BitFloatingPoint = 'ldbl'
typeAEList = 'list'
typeAERecord = 'reco'
typeAEText = 'tTXT'
typeAbsoluteOrdinal = 'abso'
typeAlias = 'alis'
typeAppParameters = 'appa'
typeApplSignature = 'sign'
typeAppleEvent = 'aevt'
typeApplicationBundleID = 'bund'
typeApplicationURL = 'aprl'
typeArc = 'carc'
typeBest = 'best'
typeBoolean = 'bool'
typeCString = 'cstr'
typeCell = 'ccel'
typeCentimeters = 'cmtr'
typeChar = 'TEXT'
typeClassInfo = 'gcli'
typeColorTable = 'clrt'
typeColumn = 'ccol'
typeComp = 'comp'
typeCompDescriptor = 'cmpd'
typeComponentInstance = 'cmpi'
typeCubicCentimeter = 'ccmt'
typeCubicFeet = 'cfet'
typeCubicInches = 'cuin'
typeCubicMeters = 'cmet'
typeCubicYards = 'cyrd'
typeCurrentContainer = 'ccnt'
typeDashStyle = 'tdas'
typeData = 'tdta'
typeDecimalStruct = 'decm'
typeDegreesC = 'degc'
typeDegreesF = 'degf'
typeDegreesK = 'degk'
typeDispatcherID = 'dspt'
typeDrawingArea = 'cdrw'
typeEPS = 'EPS '
typeElemInfo = 'elin'
typeEncodedString = 'encs'
typeEnumerated = 'enum'
typeEnumeration = 'enum'
typeEventInfo = 'evin'
typeEventRecord = 'evrc'
typeEventRef = 'evrf'
typeExtended = 'exte'
typeFSRef = 'fsrf'
typeFSS = 'fss '
typeFalse = 'fals'
typeFeet = 'feet'
typeFileURL = 'furl'
typeFinderWindow = 'fwin'
typeFixed = 'fixd'
typeFixedPoint = 'fpnt'
typeFixedRectangle = 'frct'
typeFloat = 'doub'
typeGallons = 'galn'
typeGrams = 'gram'
typeGraphicLine = 'glin'
typeGraphicText = 'cgtx'
typeGroupedGraphic = 'cpic'
typeHIMenu = 'mobj'
typeHIWindow = 'wobj'
typeIEEE32BitFloatingPoint = 'sing'
typeIEEE64BitFloatingPoint = 'doub'
typeInches = 'inch'
typeIndexDescriptor = 'inde'
typeInsertionLoc = 'insl'
typeInteger = 'long'
typeIntlText = 'itxt'
typeIntlWritingCode = 'intl'
typeKeyword = 'keyw'
typeKilograms = 'kgrm'
typeKilometers = 'kmtr'
typeLiters = 'litr'
typeLogicalDescriptor = 'logi'
typeLongDateTime = 'ldt '
typeLongFixed = 'lfxd'
typeLongFixedPoint = 'lfpt'
typeLongFixedRectangle = 'lfrc'
typeLongFloat = 'doub'
typeLongInteger = 'long'
typeLongPoint = 'lpnt'
typeLongRectangle = 'lrct'
typeLowLevelEventRecord = 'evtr'
typeMachineLoc = 'mLoc'
typeMagnitude = 'magn'
typeMeters = 'metr'
typeMiles = 'mile'
typeNull = 'null'
typeOSLTokenList = 'ostl'
typeObjectBeingExamined = 'exmn'
typeObjectSpecifier = 'obj '
typeOffsetArray = 'ofay'
typeOunces = 'ozs '
typeOval = 'covl'
typePString = 'pstr'
typeParamInfo = 'pmin'
typePict = 'PICT'
typePixMapMinus = 'tpmm'
typePixelMap = 'cpix'
typePolygon = 'cpgn'
typePounds = 'lbs '
typeProcessSerialNumber = 'psn '
typePropInfo = 'pinf'
typeProperty = 'prop'
typePtr = 'ptr '
typeQDPoint = 'QDpt'
typeQDRectangle = 'qdrt'
typeQDRegion = 'Qrgn'
typeQuarts = 'qrts'
typeRGB16 = 'tr16'
typeRGB96 = 'tr96'
typeRGBColor = 'cRGB'
typeRangeDescriptor = 'rang'
typeRectangle = 'crec'
typeRelativeDescriptor = 'rel '
typeRotation = 'trot'
typeRoundedRectangle = 'crrc'
typeRow = 'crow'
typeSInt16 = 'shor'
typeSInt32 = 'long'
typeSInt64 = 'comp'
typeSMFloat = 'sing'
typeSMInt = 'shor'
typeScrapStyles = 'styl'
typeScript = 'scpt'
typeSectionH = 'sect'
typeSessionID = 'ssid'
typeShortFloat = 'sing'
typeShortInteger = 'shor'
typeSquareFeet = 'sqft'
typeSquareKilometers = 'sqkm'
typeSquareMeters = 'sqrm'
typeSquareMiles = 'sqmi'
typeSquareYards = 'sqyd'
typeStyledText = 'STXT'
typeStyledUnicodeText = 'sutx'
typeSuiteInfo = 'suin'
typeTIFF = 'TIFF'
typeTable = 'ctbl'
typeTargetID = 'targ'
typeText = 'TEXT'
typeTextRange = 'txrn'
typeTextRangeArray = 'tray'
typeTextStyles = 'tsty'
typeToken = 'toke'
typeTrue = 'true'
typeType = 'type'
typeUInt32 = 'magn'
typeUnicodeText = 'utxt'
typeVersion = 'vers'
typeWhoseDescriptor = 'whos'
typeWhoseRange = 'wrng'
typeWildCard = '****'
typeYards = 'yard'