• 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 in NSView just like iWeb did
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag From iTunes in NSView just like iWeb did


  • Subject: Re: Drag From iTunes in NSView just like iWeb did
  • From: Jim Puls <email@hidden>
  • Date: Fri, 29 Sep 2006 11:13:50 -0700

On Sep 29, 2006, at 12:31 AM, Nishant Yede wrote:

hi
Thanks for your comments and i tried all your suggestions and now i am able to drag all kind of files from
finder but not from "iTune" and from "mediaBrowser" which i really want.


I am egarly waiting for your reply.

Take a look at what the dragging pasteboard contains when you drag from iTunes (this thanks to PasteboardPeeker, http://developer.apple.com/samplecode/PasteboardPeeker/) :


PasteboardRef: 3532864  ItemCount: 1
   Index: 1  item ID: 1
      "dyn.agk81a4dgsq"
      ""
      'phfs' ______ 14      hook  rWm1

      "dyn.agk81ez5rge"
      ""
      'rWm1' P_____ 70         Filename.m4p

      "dyn.agk8yu6dgru"
      ""
      'Hpfl' ___n__ 70         Filename.m4p

"dyn.agk80w7dzr2"
""
'itun' P__n__ 1804 <?xml version= 1.0 encoding= UTF-8 ?> < DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd > <plist version= 1.0 > (...)</plist>


Not a single Cocoa type anywhere in sight. Which kinda makes sense if you think about it, considering iTunes isn't a Cocoa app. You're going to need to drop down to the CF APIs.

-> jp

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Re: Drag From iTunes in NSView just like iWeb did (From: "Nishant Yede" <email@hidden>)

  • Prev by Date: Re: Pixel Size
  • Next by Date: Re: Help Book not working
  • Previous by thread: Re: Drag From iTunes in NSView just like iWeb did
  • Next by thread: Changing Default Viewer, UTIs, and File Extensions
  • Index(es):
    • Date
    • Thread