Re: Accepting url drags directly from safari
Re: Accepting url drags directly from safari
- Subject: Re: Accepting url drags directly from safari
- From: zeno <email@hidden>
- Date: Fri, 27 Feb 2004 23:53:50 +0100
I think this is quite difficult ;-)
I would like to tell my droplet to accept drags directly from the
safari's location bar, I mean, not .webloc files (this can be easily
done), but being able to drag the little url icon (favicon) directly
from the location bar and drop it to my application's icon.
I too spent a lot of time trying to make it work -- my conclusion was
that this is simply not supported -- i.e. the system tests if your
application supports the file type of the dragged object (using your
applications Info.plist), but it only does so for files.
that's exaclty the problem; with dragged files there no problem: adding
a Document Type to the project's target with Extension "*" and OS Types
"****" will cause the app to accept every type of dragged files....yeah
"files", but not other types of objects like urls.... grrrrrrrr
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.