ensure-lisp-clipboard

Function

Package: common-graphics

Arguments: &key format

This function converts any objects that were placed onto the Windows clipboard by other applications into lisp objects on the lisp clipboard stack. This is not done automatically when the Windows clipboard changes, in order to avoid needless consing, but is done automatically as needed when pasting the values into the IDE or standalone lisp application. If an application needs to look at these values without pasting them, it may find it useful to call this function and then retrieve the value of (clipboard *system*) which will then contain the converted values. Alternately, clipboard-object could be called to retrieve the values directly without affecting the lisp clipboard stack at all.

The format argument may be either nil to convert Windows clipboard values that are in any of the formats currently implemented in Common Graphics, or one of the symbols (:text :rich-text :pixmap) to convert only one format.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.