Re: string into clipboard
Re: string into clipboard
- Subject: Re: string into clipboard
- From: Guillaume Rager <email@hidden>
- Date: Thu, 5 Feb 2004 10:50:26 +0100
- Organization: GumiTech
On Thu, 5 Feb 2004 00:46:58 -0800, Aram Greenman wrote:
>
Did you declareTypes:owner:?
>
>
>
>
On Feb 5, 2004, at 12:22 AM, Guillaume Rager wrote:
>
>
> Hi list,
>
>
>
> i just want to put an NSString in Clipboard, i use that
>
>
>
[[NSPasteboard generalPasteboard] declareTypes:[NSArray
>
arrayWithObject:NSStringPboardType] owner:self]
Hum, thats ok using declareTypes.. i log the [[NSPasteboard generalPasteboard] types], there was already an NSStringPBoardType, so i didn't think that i would declare again the type...that seems to be funny...
Thanks a lot
>
> [[NSPasteboard generalPastboard] setString:aString
>
> forType:NSStringPboardType];
>
>
>
> ... but it doesn't seem to be the right way, because i cannot see
>
> the string into the Finder clipboard or find the string into another
>
> application.
>
>
Guillaume
-----
GUMITECH - R&D Unit - Niort (France)
http://www.gumitech.com
"Chaud cocoa, chaud chocolat !!!"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.