Function Entry: CLAL-CLIPBOARD-GET-TEXT

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

Function Entry: CLAL-CLIPBOARD-GET-TEXT

Name

clal-clipboard-get-text

Class

clautolisp Extension Function

Syntax

(clal-clipboard-get-text)

Arguments and Values

No arguments.

Description

Return the current system clipboard contents as a string (clipboard-interface.org).

Return Values

An AutoLISP string with the clipboard text, or nil when the clipboard is empty or unreadable.

Side Effects

None.

Affected By

  • The system clipboard contents and the availability of a provider.

Exceptional Situations

None.

Examples

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

Availability

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

Source Notes

  • clautolisp-only extension; see clautolisp/documentation/clipboard-interface.org.