Re: How to get scripting to work without NSApplication
Re: How to get scripting to work without NSApplication
- Subject: Re: How to get scripting to work without NSApplication
- From: Jason Bobier <email@hidden>
- Date: Mon, 10 Dec 2001 21:35:07 -0800
I gave that a try, but it didn't seem to recognize that the app would
accept an appleevent. I'm guessing that it requires the scriptSuite
plist to be correct.
Jason
On Monday, December 10, 2001, at 11:17 AM, cocoa-dev-
email@hidden wrote:
If all you need is to catch a few appleevents directed at your app,
check out the Foundation Class NSAppleEventManager. Your programs
can use it to register handlers for specific appleevents. (The quit
event may be special in some way so this might not work. I'm not
sure.) Note that since it is Foundation, it is not dependent on the
existence of and NSApplication object.
--
Jason A. Bobier
email@hidden
Tech Lead, PGP Macintosh Products
http://www.prismatix.com/
Network Associates, Inc. Nothing's constant
PGPKey: <
http://keys.pgp.com:11371/pks/lookup?op=get&search=0xF6F83318>
Fingerprint: 7809 7E6E BCCA 903D 4618 9740 EB10 9DF9 F6F8 3318