Mac::OSA - Provide interface to Open Scripting Architecture


Mac-Carbon documentation  | view source Contained in the Mac-Carbon distribution.

Index


NAME

Top

Mac::OSA - Provide interface to Open Scripting Architecture

SYNOPSIS

Top



    use Mac::OSA;

    use Mac::OSA qw(OSALoad OSAStore OSAExecute);

DESCRIPTION

Top

Access to Inside Macintosh is essential for proper use of these functions. Explanations of terms, processes and procedures are provided there. Any attempt to use these functions without guidance can cause severe errors in your machine, including corruption of data. You have been warned.

Constants

kOSAComponentType
kOSAGenericScriptingComponentSubtype
kOSAFileType
kOSASuite
kOSARecordedText
kOSAScriptIsModified
kOSAScriptIsTypeCompiledScript
kOSAScriptIsTypeScriptValue
kOSAScriptIsTypeScriptContext
kOSAScriptBestType
kOSACanGetSource
typeOSADialectInfo
keyOSADialectName
keyOSADialectCode
keyOSADialectLangCode
keyOSADialectScriptCode
kOSAScriptResourceType
typeOSAGenericStorage

Types and keywords.

kOSANullScript
kOSANullMode
kOSAModeNull

Default values.

kOSASupportsCompiling
kOSASupportsGetSource
kOSASupportsAECoercion
kOSASupportsAESending
kOSASupportsRecording
kOSASupportsConvenience
kOSASupportsDialects
kOSASupportsEventHandling

Feature flags.

kOSAModePreventGetSource
kOSAModeNeverInteract
kOSAModeCanInteract
kOSAModeAlwaysInteract
kOSAModeDontReconnect
kOSAModeCantSwitchLayer
kOSAModeDoRecord
kOSAModeCompileIntoContext
kOSAModeAugmentContext
kOSAModeDisplayForHumans
kOSAModeDontStoreParent
kOSAModeDispatchToDirectObject
kOSAModeDontGetDataForArguments
kOSAModeDontDefine

Mode flags.

kOSAErrorNumber
kOSAErrorMessage
kOSAErrorBriefMessage
kOSAErrorApp
kOSAErrorPartialResult
kOSAErrorOffendingObject
kOSAErrorExpectedType
kOSAErrorRange
typeOSAErrorRange
keyOSASourceStart
keyOSASourceEnd

Error handling.

kOSAUseStandardDispatch
kOSANoDispatch
kOSADontUsePhac
kGenericComponentVersion

Dispatching flags

AUTHOR

Top

Written by Matthias Ulrich Neeracher <neeracher@mac.com>, documentation by Bob Dalgleish <bob.dalgleish@sasknet.sk.ca>. Currently maintained by Chris Nandor <pudge@pobox.com>.


Mac-Carbon documentation  | view source Contained in the Mac-Carbon distribution.