Michael Rueger wrote:
>> Well that *is* the extended clipboard support. Just need the smalltalk
>> code to make the proper primitive calls to the extended clipboard plugin.
>> You need the ClipboardExtendedPlugin.bundle
Hmm, you still need FFI despite the plugin:
readUTF8StringClipboardData
| bytes |
"utf8"
bytes := self readClipboardData: 'public.utf8-plain-text'.
bytes := MacCFString callMakeUTF8NormalizedStringViaByteString: bytes
asString.
^bytes ifNil: [bytes] ifNotNil:
[bytes asString convertFromWithConverter: (UTF8TextConverter
new)]
Michael
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project