Excellent! Thanks a lot, this works well for me too.
I didn't know about the "CorePasteboardFlavorType" mechanism, and I
couldn't find any documentation about it, so I suppose this isn't
guaranteed to work in the future.
Best,
Stefan
Stephen F. Booth <[EMAIL PROTECTED]> wrote:
> Stefan,
>
Stefan,
I use the following code to get the URLs from dragged files from iTunes:
NSString * const iTunesPboardType = @"CorePasteboardFlavorType 0x6974756E";
// Handle iTunes drops
else if([bestType isEqualToString:iTunesPboardType]) {
NSDictionary *iTunesDictionary = [[info draggingPasteboard]
Stefan,
I use the following code to get the URLs from dragged files from iTunes:
NSString * const iTunesPboardType = @"CorePasteboardFlavorType 0x6974756E";
// Handle iTunes drops
else if([bestType isEqualToString:iTunesPboardType]) {
NSDictionary *iTunesDictionary = [[info draggingPasteboard]
Gregory Weston <[EMAIL PROTECTED]> wrote:
> Stefan Haller wrote:
>
> > In a Carbon application I solved the problem by handling the
> > kDragPromisedFlavorFindFile flavor, which worked quite well. How do I
> > do this in a Cocoa app though? I can't find any NS*PboardType that
> > seems to relat
Stefan Haller wrote:
When dragging files from iTunes, iTunes sends the following drag
flavors
(according to DragPeeker X):
phfs (kDragFlavorTypePromiseHFS)
rWm1 (kDragPromisedFlavorFindFile)
Hpfl
itun
I can't find any reference to the last two on the web, so I assume
they
are priv