<div dir="ltr">In the OLPC days this plugin enabled copy/paste of objects, pictures. and rich text on all platforms (Mac/Win/X11).<div><br></div><div>E.g. you could copy/paste a morph from one image to another simply by bringing up its halo, pressing cmd-c, and pressing cmd-v in the other image. All its scripted behavior (Etoys scripts) would be transferred with it. If instead you pasted that morph into a word processor, it would insert a bitmap rendering of the morph. </div><div><br></div><div>Similarly you could copy a picture from a web browser and paste it directly into Squeak. Or copy syntax-highlighted source code from Squeak into an email.</div><div><br></div><div>I'm not entirely sure how much of the machinery made into Squeak trunk, but I would guess it's almost all there, might just need some wiring to hook up properly.<br><div><br></div><div>Vanessa</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 31, 2021 at 5:07 PM Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Bernhard,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 31, 2021 at 5:27 AM Bernhard Pieber <<a href="mailto:bernhard@pieber.com" target="_blank">bernhard@pieber.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
Hi,<br>
<br>
Maybe this question is better asked on the vm-dev list. Does anyone know the status of the ClipboardExtendedPlugin?<br>
<br>
Happy New Year!<br>
<br>
Bernhard<br>
<br>
> Am 20.12.2021 um 09:38 schrieb Bernhard Pieber <<a href="mailto:bernhard@pieber.com" target="_blank">bernhard@pieber.com</a>>:<br>
><br>
> Hi everyone,<br>
><br>
> I tried to copy a form as PNG to the clipboard like this:<br>
> ExtendedClipboardInterface current addClipboardDataConvertFormToPNG: self imageForm<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">With fixes to the plugin ClipboardExtendedPlugin.c generated C file to declare the interface it uses, and the Makefile to compile it, I am able to copy and paste the display into TextEdit on macOS 10.14.  I'll commit fixes to the opensmalltalk-vm repository, and add the plugin to Squeak macOS builds.  Thanks for the heads up :-)</div><div class="gmail_default" style="font-size:small"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
><br>
> This seems not to work correctly. If I paste it to TextEdit I get the binary data starting with PNG instead of the image itself. It looks as if the ClipboardExtendedPlugin is not loaded. The plugin seems to be in the current VM source (src/pugins/ClipboardExtendedPlugin), though. I am on macOS Big Sur 11.6.1.<br>
><br>
> Should this work? I tried on Squeak 3.4, 4.6 and 5.3 but the ExtendedClipboardInterface is not loaded in these images.<br>
><br>
> Cheers,<br>
> Bernhard<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>
</blockquote></div>