Mac OS 9
OSAGeneric.h File Reference

AppleScript Generic Component Interfaces. More...

#include <MacErrors.h>
#include <AppleEvents.h>
#include <OSA.h>

Go to the source code of this file.

Typedefs

typedef OSType ScriptingComponentSelector
 
typedef OSAID GenericID
 

Enumerations

enum  { kGenericComponentVersion = 0x0100 }
 
enum  {
  kGSSSelectGetDefaultScriptingComponent = 0x1001 , kGSSSelectSetDefaultScriptingComponent = 0x1002 , kGSSSelectGetScriptingComponent = 0x1003 , kGSSSelectGetScriptingComponentFromStored = 0x1004 ,
  kGSSSelectGenericToRealID = 0x1005 , kGSSSelectRealToGenericID = 0x1006 , kGSSSelectOutOfRange = 0x1007
}
 

Functions

OSAError OSAGetDefaultScriptingComponent (ComponentInstance genericScriptingComponent, ScriptingComponentSelector *scriptingSubType)
 
OSAError OSASetDefaultScriptingComponent (ComponentInstance genericScriptingComponent, ScriptingComponentSelector scriptingSubType)
 
OSAError OSAGetScriptingComponent (ComponentInstance genericScriptingComponent, ScriptingComponentSelector scriptingSubType, ComponentInstance *scriptingInstance)
 
OSAError OSAGetScriptingComponentFromStored (ComponentInstance genericScriptingComponent, const AEDesc *scriptData, ScriptingComponentSelector *scriptingSubType)
 
OSAError OSAGenericToRealID (ComponentInstance genericScriptingComponent, OSAID *theScriptID, ComponentInstance *theExactComponent)
 
OSAError OSARealToGenericID (ComponentInstance genericScriptingComponent, OSAID *theScriptID, ComponentInstance theExactComponent)
 

Detailed Description

AppleScript Generic Component Interfaces.

Introduced In: AppleScript 1.1
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1992-2001 by Apple Computer, Inc., all rights reserved

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ OSAGenericToRealID()

OSAError OSAGenericToRealID ( ComponentInstance  genericScriptingComponent,
OSAID theScriptID,
ComponentInstance theExactComponent 
)

OSAGenericToRealID()

Non-Carbon CFM: in AppleScriptLib 1.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ OSAGetDefaultScriptingComponent()

OSAError OSAGetDefaultScriptingComponent ( ComponentInstance  genericScriptingComponent,
ScriptingComponentSelector *  scriptingSubType 
)

OSAGetDefaultScriptingComponent()

Non-Carbon CFM: in AppleScriptLib 1.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ OSAGetScriptingComponent()

OSAError OSAGetScriptingComponent ( ComponentInstance  genericScriptingComponent,
ScriptingComponentSelector  scriptingSubType,
ComponentInstance scriptingInstance 
)

OSAGetScriptingComponent()

Non-Carbon CFM: in AppleScriptLib 1.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ OSAGetScriptingComponentFromStored()

OSAError OSAGetScriptingComponentFromStored ( ComponentInstance  genericScriptingComponent,
const AEDesc scriptData,
ScriptingComponentSelector *  scriptingSubType 
)

OSAGetScriptingComponentFromStored()

Non-Carbon CFM: in AppleScriptLib 1.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ OSARealToGenericID()

OSAError OSARealToGenericID ( ComponentInstance  genericScriptingComponent,
OSAID theScriptID,
ComponentInstance  theExactComponent 
)

OSARealToGenericID()

Non-Carbon CFM: in AppleScriptLib 1.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later

◆ OSASetDefaultScriptingComponent()

OSAError OSASetDefaultScriptingComponent ( ComponentInstance  genericScriptingComponent,
ScriptingComponentSelector  scriptingSubType 
)

OSASetDefaultScriptingComponent()

Non-Carbon CFM: in AppleScriptLib 1.1 and later
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in version 10.0 and later