• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Required AppleEvents"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Required AppleEvents"


  • Subject: Re: "Required AppleEvents"
  • From: Jeff LaMarche <email@hidden>
  • Date: Mon, 22 Oct 2001 22:44:09 -0700

On Monday, October 22, 2001, at 10:40 PM, Brian Webster wrote:

All I want to know right now is just how to add support the required
events - particularly the old Open Doc (was it 'ODOC' in classic??)
event. I am not using the Multi-Document architecture, but still want to
receive open doc events from certain image formats and process them.

The required Apple events are handled automatically by NSApplication. When an 'odoc' event is sent to your application, the -application:openFile: message will be sent to the application delegate for each file to be opened.

I should have figured it would be something so easy. I thought that this was handled by NSWindowController or NSDocument. Thanks for the info!


References: 
 >Re: "Required AppleEvents" (From: Brian Webster <email@hidden>)

  • Prev by Date: Re: "Required AppleEvents"
  • Next by Date: Re: converting C-strings to NSString
  • Previous by thread: Re: "Required AppleEvents"
  • Next by thread: Re: "Required AppleEvents"
  • Index(es):
    • Date
    • Thread