http://purl.org/tcl/home/man/tcl8.4/TkCmd/clipboard.htm A pointer or help discussing X vs Mac vs Windows clipboard processing - particularly the rather complicated X model - seems in order. Perhaps a pointer to nice cross-platform tool to give a Tk view of the clipboards to which a user has access, with auto-saving and loading of the contents, would be a nice example? ---- [LV] What features would be useful in a Tk based clipboard application? Currently I have used a '''non-Tk''' application called xclipboard, which provides minimalistic clipping features. The main reason I use it is because a) it is the only thing that comes on my system, b) it allows the user to create new ''pages'' for text to be glued in. One of the major misfeatures of the application is that it does '''not''' support the feature of deleting selected text. What features could a Tk based clipboard application provide? At one time, someone on clt had proposed the idea of ''filters'' being defined (sort along the idea of Apple's Data Detectors I guess) which based on the kind of data being selected, could take various actions. These would be written in tcl of course. 1. Import selection into application with minimal effort by the user 1. Deal with distinguishing when a user wants text imported and when not to do it. 1. Support import of various kinds of text 1. Support a varying (hopefully relatively unlimited) size and number of selections. 1. Support import of objects selected other than text. 1. Support editing of selected text 1. Support automatic invocation of specialized ''filters'', with tracing for debugging purposes 1. Support automatic saving of items imported into the application as well as the ability to load up the clipboard pages. 1. Perhaps support sharing of such pages - by naming them, and allowing the loading of various named collections of pages ---- See also [Primary Transfer vs. the Clipboard]. ---- [Tk syntax help] - [Arts and crafts of Tcl-Tk programming] - [Category Command]