LitDev Extension API
LDClipboard

Clipboard methods.
Clear
![]() |
ClipboardChanged
![]() |
GetFileList
![]() |
GetImage
![]() |
GetText
![]() |
ImageTransparency
![]() |
SetFileList
![]() |
SetImage
![]() |
SetText
![]() |
Clear()

Clear the clipboard;
returns "SUCCESS" or "FAILED".
ClipboardChanged

Event when the clipboard status changes.
GetFileList()

Get an array of file names from the clipboard.
returns An array of files or "FAILED".
GetImage()

Load an image from the clipboard into ImageList.
returns The ImageList name or "FAILED".
GetText()

Get text from the clipboard.
returns The clipboard text or "FAILED".
ImageTransparency

Use an extended format for SetImage that includes transparency ("True" default or "False").
This extended format may not be recognised by some applications when pasted.
SetFileList(fileList)

Set a list of files to the clipboard.
fileList An array (or single file) of file names (full path).
returns "SUCCESS" or "FAILED".
SetImage(imageName)

Set an ImageList image to the clipboard.
imageName The ImageList image.
returns "SUCCESS" or "FAILED".
SetText(text)

Set text to the clipboard.
text The text to add to the clipboard.
returns "SUCCESS" or "FAILED".