• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drag from iTunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag from iTunes


  • Subject: Re: Drag from iTunes
  • From: Lorenzo <email@hidden>
  • Date: Tue, 01 Feb 2005 23:17:36 +0100

Thank you. It worked.
I had already taken a look within the pasterboard with

    NSArray                    *types = [pboard types];
    NSLog(@"Types %@", [types description]);

so I have seen the flavours. However, ClipboardViewer did let me see even
the contents, so it was easier. Thank you so much.

A question:
The dictionary is within the flavour @"CorePasteboardFlavorType 0x6974756E"
Could this number 0x6974756E change in the future?
Should I instead use a TYPE like 'itun'? If so, which one (sintax please).


Best Regards
--
Lorenzo
email: email@hidden

> From: The Karl Adam <email@hidden>
> Reply-To: The Karl Adam <email@hidden>
> Date: Tue, 01 Feb 2005 16:25:53 -0500
> To: Lorenzo <email@hidden>
> Cc: email@hidden
> Subject: Re: Drag from iTunes
>
> 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

  • Follow-Ups:
    • Re: Drag from iTunes
      • From: The Karl Adam <email@hidden>
References: 
 >Re: Drag from iTunes (From: The Karl Adam <email@hidden>)

  • Prev by Date: Re: + initialize docs conflict?
  • Next by Date: Re: mouseDown/Up on window's titlebar?
  • Previous by thread: Re: Drag from iTunes
  • Next by thread: Re: Drag from iTunes
  • Index(es):
    • Date
    • Thread