Coercing Script Values
Scripting components can provide support for two optional routines,OSACoerceFromDescandOSACoerceToDesc, which coerce data in a descriptor record to a script value and coerce a script value to data in a descriptor record, respectively.A scripting component that supports the routines in this section has the
kOSASupportsAECoercionbit set in thecomponentFlagsfield of its component description record.
Subtopics
- OSACoerceFromDesc
- OSACoerceToDesc