• 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: string into clipboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >string into clipboard (From: Guillaume Rager <email@hidden>)

  • Prev by Date: Re: string into clipboard
  • Next by Date: Re: Window transparency
  • Previous by thread: Re: string into clipboard
  • Next by thread: Window transparency
  • Index(es):
    • Date
    • Thread