Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/kill appleevent

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

KILL APPLEEVENT Syntax KILL APPLEEVENT eventType&, eventClass& Revised May, 2001 (Release 5) Description Once established, an Apple Event remains in effect for the life of your program. This includes event handlers that you create as well as event handlers that are created by the runtime. One example might be the apple event that opens a document. Its event type is _"core" and its class is _"odoc". If you wanted to override these established settings you would begin by removing the old version. <code><b>REM</b> _coreEventType = _core"<b>REM</b> _kAEOpenDocuments = _odoc"</code> <code><b>KILL APPLEEVENT</b> _kRequiredEventClass,_kAEOpenDocuments</code> Now you are ready to establish a new vector. <code><b>ON APPLEEVENT</b>(_kRequiredEventClass,_kAEOpenDocuments) ¬ <b>  FN</b> myODocHandler</code> Example: INSERT IMAGE HERE!!!! CD Example: AppleEvents Folder See Also SENDAPPLEEVENT; HANDLEEVENTS; ON APPLEEVENT; GETPROCESSINFO; APPLEEVENTMESSAGE$