Re: Dragging webloc URLs
David Dunham <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On 20 Jan 2010, at 16:01, Christiaan Hofman wrote: > In the past, it was possible to drag .webloc files from Finder and drop them in various applications. The pasteboard flavor on the pasteboard holding the URL referenced by the .webloc was 'url', corresponding to (NS) pasteboard type "CorePasteboardFlavorType 0x75726C20". This can be very useful, because it allows you to drag URLs e.g. from Safari to another app in a 2-step process, because you can't always drag directly to the receiving app. > > However, in SL this does not work anymore, the 'url' flavor is not put on the pasteboard anymore by Finder. > > So my question is whether anybody knows whether there's any replacement for this rather useful feature? Or is this a bug? The URL types I handle in Opal are "WebURLsWithTitlesPboardType" and "public.url" -- not entirely sure what they correspond to in what version of the OS. (I think the former is from Safari, and I added public.url a couple years ago, probably 10.5 time frame.) I'm getting something useful when I drag in a .webloc file, but I don't know what type is being used. David Dunham A Sharp, LLC