Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting docs to be draggable onto my app?!




On Oct 25, 2005, at 6:24 PM, Chilton Webb wrote:

Before using any heavy-handed solutions that involve deleting all the LS
data folks should be aware that such any approach that resets *everything*
in Launch Services will remove all of the Open With customizations that
aren't file-specific and the "trusted" status of applications.
Yes, this tells LS to start from scratch. And that's a very good point about the Open With customizations. In my case, the few times I've found that LS has truly gone wonky, the above was the only thing that worked. Of course, I'm open to suggestions.

Note that wiping the LS database doesn't actually erase all of the binding preferences the user has established. It just erases all of the cached Info.plist application data from the apps on your system.


Also, and of course I may eat crow on this point, wiping the LS database isn't quite the magic bullet it was under 10.2 and earlier. There is likely something else going on. Ensuring that rebuilding your app changes the mod date on the bundle directory is a good place to start. Changing the mod date is enough to trigger re-registration when you drag a file over your app's icon.

As I recall, simply Option-dragging an application to another folder should
cause the Finder to update its entry in the LS database.

I've heard that too, but it's never worked here.

Again, this makes it sound like wiping the LS database won't help you.

I pasted your CFBundleDocumentTypes XML into an empty app project in Xcode, built it, and it worked correctly w.r.t. dragging a .mov file onto the app icon. What tool are you using the create the app bundle?

-Chris


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Getting docs to be draggable onto my app?! (From: Laurence Harris <email@hidden>)
 >Re: Getting docs to be draggable onto my app?! (From: Chilton Webb <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.