I would like to set things up for my application so that every
time the user mouses on a document of the application to open it,
a *new* instance of the application is launched to handle just
that one document.  Thus if the user moused on many documents,
many instances of the application would be running at the same
time.

The best way I have thought of of doing that is to write an
[NSApplication openFile] method for the app, that performs
any necessary extra launch.  That is kind of inelegant, though.
Can anyone recommend a better way?  I haven't found any way to
specify this behavior so that the system knows about it at
mouse-the-document time, and thus can do what is necessary without
my intervention.

Details as to why I want this behavior are long and probably
irrelevant, contact me privately if you would like to know ...

Thanks!

--  Jay Reynolds Freeman
---------------------
jay_reynolds_free...@mac.com
http://web.mac.com/jay_reynolds_freeman (personal web site)


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to