AEResetTimer
You can use theAEResetTimer
function to reset the timeout value for an Apple event to its starting value.
FUNCTION AEResetTimer (reply: AppleEvent): OSErr;
reply
- The default reply for an Apple event, provided by the Apple Event Manager.
DESCRIPTION
When your application callsAEResetTimer
, the Apple Event Manager for the server application uses the default reply to send a Reset Timer event to the client application; the Apple Event Manager for the client application's computer intercepts this Apple event and resets the client application's timer for the Apple event. (The Reset Timer event is never dispatched to a handler, so the client application does not need a handler for it.)RESULT CODE
noErr 0 No error errAEReplyNotValid -1709 AEResetTimer
was passed an invalid reply