LNS Home
JavaScript OSA
JavaScript OSA Home
Download & Installation
QuickStart
Project Status
Documentation
 
Object Reference
 
Core
MacOS
MacOS.AEDesc
MacOS.AEApp
MacOS.AEClass
MacOS.AEColl
MacOS.FileSpec
MacOS.OSA
MacOS.MacOSError
Sending Raw AppleEvents
Responding to AppleEvents
AppleEvent to JavaScript Value Conversion
How-Tos
 
Open Handler
Folder Actions Handlers
Write Some Text
Calling JavaScript from REALbasic
Using JavaScript Libraries
FAQ
Mailing List
JavaScript Language Documentation & Links
Products
x Script Debugger 4.5
Site Contents
bullet Mark’s Blog
Product Registration
Bug Reporting
x Freeware
Contacting Us

MacOS.AEDesc object

The MacOS.AEDesc object represents AppleEvent values that have no corresponding JavaScript data type (more info).

Method/Property Description
MacOS.AEDesc(value)

constructor
The initial value of the AEDesc. Any JavaScript expression may be given.

MacOS.AEDesc.toSource()
MacOS.AEDesc.toString()

the contents of the AEDesc formated in "AEPrint syntax".

MacOS.AEDesc.as(desiredType) Invokes an AppleEvent Coercion Handler to conver the data from one data type to another.

The desired type may be expressed using one of the symbolic names in the _types object or as a 4-character string containing the 4-character AppleEvent data type code.
MacOS.AEDesc.build(value)

constructs a new AEDesc from an AEBuild formatted string.

MacOS.AEDesc._type

read-only
returns a string containing the 4-character type code of the AEDesc data.

MacOS.AEDesc._dictionary

read-only
returns the MacOS.AEApp application whose dictionary is associated with this AEDesc.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Copyright © 1998-2009 Late Night Software Ltd. - All Rights Reserved.