Function Entry: CLAL-CLIPBOARD-PUT-TEXT

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: CLAL-CLIPBOARD-PUT-TEXT

Name

clal-clipboard-put-text

Class

clautolisp Extension Function

Syntax

(clal-clipboard-put-text string)

Arguments and Values

  • string — a string (or symbol) whose text is placed on the system clipboard.

Description

Set the system clipboard to string through sedit's clipboard provider layer (clipboard-interface.org).

Return Values

T on success, nil when the clipboard write failed (e.g. no usable provider).

Side Effects

Replaces the system clipboard contents.

Affected By

  • Availability of a system clipboard provider on the host.

Exceptional Situations

Argument-type errors propagate when string is neither a string nor a symbol.

Examples

(clal-clipboard-put-text "hello")
=> T

Availability

  • clautolisp: documented (this entry); implemented since clautolisp 1.4.x.
  • AutoCAD: NOT present.
  • BricsCAD: NOT present.

Source Notes

  • clautolisp-only extension; the provider layer and its security model are specified in clautolisp/documentation/clipboard-interface.org.