> The one that comes to my mind immediately, is that if the user is 
> double-clicking a document in the Finder to open it, or trying to print from 
> the Finder, then the event for that goes to your script, not the real 
> application. So the script would need to pass that on.
>
> Assuming your app even deals with documents, which based on some of your 
> prior posts re pref panes, seems like it may not.

Thanks Scott for the answer

My Main Application DOES deal with documents and even URLs, so i guess
i will have to pass on requests which need to be processed according
to CFBundleDocumentTypes and CFBundleURLTypes.
I guess i could implement in a script (or, rather, a "thin"
application)  interceptor of odoc, pdoc and GURL apple events. and
execute Launch Services functions on the final bundle of Main
Application (which has a role of a helper tool), but are these all the
caveats i need to follow?

As far as i understand, this "drag to dock" issue is basically sending
"odoc" apple event as well?
Are there any possible pitfalls?
_______________________________________________

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