Re: Object Specifier pasteboard type
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