Re: "Required AppleEvents"
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!