get-clipboard-data in clipboard<%>
Gets the current clipboard contents in a specific format, returning
#f if the clipboard does not contain data in the requested
format.
If the clipboard client is associated to an eventspace that is not the
current one, the data is retrieved through a callback event in the
client's eventspace. If no result is available within one second, the
request is abandoned and #f is returned.
( -> string or send a-clipboard get-clipboard-data format time)#f
format : string
time : exact integer
The format string is typically four capital letters. (Under
Mac OS, only four characters for format are ever used.) For
example, "TEXT" is the name of the simple text format. New
format names can be used to communicate application- and
platform-specific data formats.
See Cut and Paste for a discussion of the time argument. If
time is outside the platform-specific range of times,
an exn:application:mismatch exception is raised.