• 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: Object Specifier pasteboard type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Object Specifier pasteboard type


  • Subject: Re: Object Specifier pasteboard type
  • From: Mark Alldritt <email@hidden>
  • Date: Wed, 11 May 2005 17:46:57 -0700

Hi There,

>> Does anyone know what the Object Specifier pasteboard type is?
>> This is the
>> pasteboard type expected by the Script Editor's Paste Reference
>> command.
>>
>> Under Carbon, we use the typeObjectSpecifier ('obj ') when writing
>> data to
>> the clipboard.
>
> If there's a system pasteboard type that doesn't have a Cocoa name,
> then you can use it in Cocoa anyway by naming it
> "CorePasteboardFlavorType 0x" followed by the four-letter identifier
> written in hexadecimal. So 'obj ' would become
> "CorePasteboardFlavorType 0x6F626A20".

Thanks very much for this information.  This worked in so much as it allows
me to read my Carbon app's scrap in Cocoa which is a big step forward.
However, it seems that the Script Editor is looking for some other
pasteboard type in order to activate its Paste Reference command.

I guess I'll have to try and get this out of the AppleScript team at WWDC.
Anyway, thanks for the help.

Cheers
-Mark

------------------------------------------------------------------------
Mark Alldritt                      Late Night Software Ltd.
Phone: 250-380-1725                Script Debugger 3.0 - AppleScript IDE
WEB: http://www.latenightsw.com    Affrus 1.0 - Perl Debugging

 _______________________________________________
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: Object Specifier pasteboard type
      • From: Bryan Prusha <email@hidden>
References: 
 >Re: Object Specifier pasteboard type (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Retrieve all searchable spotlight metadata
  • Next by Date: Re: Add metadata to my files for Spotlight
  • Previous by thread: Re: Object Specifier pasteboard type
  • Next by thread: Re: Object Specifier pasteboard type
  • Index(es):
    • Date
    • Thread