OSASetSendProc
You can use theOSASetSendProcfunction to specify a send function that a scripting component should use instead of the Apple Event Manger'sAESendfunction when sending Apple events.
FUNCTION OSASetSendProc(scriptingComponent: ComponentInstance; sendProc: AESendProcPtr; refCon: LongInt): OSAError;
scriptingComponent
A component instance created by a prior call to the Component Manager functionOpenDefaultComponentorOpenComponent(see page 10-4).sendProc- A pointer to the send function to set.
refCon- A reference constant.
RESULT CODES
noErr 0 No error errOSASystemError -1750 General scripting system error badComponentInstance $80008001 Invalid component instance
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help