Important: The information in this document is obsolete and should not be used for new development.
AESetInteractionAllowed
You can use theAESetInteractionAllowed
function to specify your application's user interaction preferences for responding to an Apple event.
FUNCTION AESetInteractionAllowed (level: AEInteractAllowed): OSErr;
level
- The user interaction level to be set.
DESCRIPTION
TheAESetInteractionAllowed
function sets the user interaction level for a server application's response to an Apple event. Thelevel
parameter must be one of three flags:kAEInteractWithSelf
,kAEInteractWithLocal
, orkAEInteractWithAll
.Specifying the
kAEInteractWithSelf
flag allows the server application to interact with the user in response to an Apple event only when the client application and server application are the same--that is, only when the application is sending the Apple event to itself.Specifying the
kAEInteractWithLocal
flag allows the server application to interact with the user in response to an Apple event only if the client application is on the same computer as the server application; this is the default if theAESetInteractionAllowed
function is not used.Specifying the
kAEInteractWithAll
flag allows the server application to interact with the user in response to an Apple event sent from any client application on any computer.RESULT CODE
noErr 0 No error SEE ALSO
For more information about setting user preferences for a server application, see "Setting the Server Application's User Interaction Preferences" on page 4-50.