• 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: The Karl Adam <email@hidden>
  • Date: Tue, 1 Feb 2005 18:41:00 -0500

There you have it, blindingly simple, but still so cool.


On Tue, 1 Feb 2005 18:20:27 -0500, Kevin Ballard <email@hidden> wrote:
> OSType to hex is simply the ASCII value of each char in the OSType. So
> 0x6974756E is equivalent to 'itun', since 0x69 is 'i', 0x74 is 't',
> 0x75 is 'u', and 0x6e is 'n'.
>
> So yes, that type is 'itun'.
>
> On Feb 1, 2005, at 6:12 PM, The Karl Adam wrote:
>
> > All these types are documented, the hex number corresponds to an the
> > unsigned long long OSType for that flavor. All of these flavors are
> > documented in the Carbon PasteBoard Manager reference that is already
> > on yoru machine. The conversion from OSType to hex I can't recall at
> > the moment, but anyone more knowledgable can step up and fill in that
> > gap.
> >
> > -Karl
> >
> > On Tue, 01 Feb 2005 23:17:36 +0100, Lorenzo <email@hidden> wrote:
> >> 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).
>
> --
> Kevin Ballard
> email@hidden
> http://www.tildesoft.com
> http://kevin.sb.org
>
>
>
 _______________________________________________
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 (From: The Karl Adam <email@hidden>)
 >Re: Drag from iTunes (From: Lorenzo <email@hidden>)
 >Re: Drag from iTunes (From: The Karl Adam <email@hidden>)
 >Re: Drag from iTunes (From: Kevin Ballard <email@hidden>)

  • Prev by Date: Re: + initialize docs conflict?
  • Next by Date: Re: + initialize docs conflict?
  • Previous by thread: Re: Drag from iTunes
  • Next by thread: Re: Drag from iTunes
  • Index(es):
    • Date
    • Thread