Re: Drag from iTunes
Re: Drag from iTunes
- Subject: Re: Drag from iTunes
- From: The Karl Adam <email@hidden>
- Date: Tue, 1 Feb 2005 16:25:53 -0500
Well the promise file drag is wrong, very wrong. That is only meant
for finder. Plus there shouldn't be a promise drag at all, but instead
a HFS drag flavor with a full path in it. As well as URL, and name
data, you might want to use the ClipBoard Viewer app provided in the
developer examples to find the drag data that is actually useful for
what you wanna do.
-Karl
On Tue, 01 Feb 2005 15:59:39 +0100, Lorenzo <email@hidden> wrote:
> Hi,
> I need to drag a song from the iTune list to my NSTable and get the song
> pathname but I don't know which registerForDraggedTypes:type I have to use.
>
> I have been trying NSFilesPromisePboardType. The drag occurrs but
> [pboard propertyListForType:NSFilesPromisePboardType];
> returns only 'MPG3'.
>
> How to get the pathname of the song? Which type? And how to get the pathname
> from the Type? Thanks.
>
> Best Regards
> --
> Lorenzo
> email: email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden