I gave another try. I like the idea.
I like the idea of a class because you could attach behavior to it: - cleaning for release - exporting - importing
There is already cleaning at startup shutdown...
... So instead of using a global I would use instead of Buffer why not ObjectClipBoard ?
Arf this was the name I was looking for ! So I changed some names and some details. Name: ObjectClipboard-CedrickBeler.1 Author: CedrickBeler Time: 11 January 2010, 6:11:56 pm UUID: 014f775e-ead0-a245-98f0-8bf61c7207ff Ancestors: Object clipboard: copy/paste objects between tools -several objects can be "copied" (up to 5 for now) -the store is reset after each image startup/shutdown To access programatically: -to copy an object: ObjectClipboard copy: anObject -to paste an object: ObjectClipboard paste -to get all copied objects: ObjectClipboard content When a copied object is pasted, the store string version unless the size is too long (100 characters). If the size exceed the limit, what's printed is : (ObjectClipboard paste) "anObject name" ie. the command that can be executed with the commented name of the object on the right. Different menu commands have been created -text editor, inspector and explorer (named: Copy object and Paste object) --need to load external files to load (I don't want to change the categories for those) (cf. joined files) I joined a small screenshot too hope you like it ;) Cédrick