Feb. 11, 2009
3:29 p.m.
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