clipboard | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
Changes | The ability to sense image data on the clipboard was added in version 2.0. | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: string Property: clipboardData, rawClipboardData, fullClipboardData Command: copy, cut, paste, lock clipboard, unlock clipboard Function: clipboard Control Structure: function Glossary: object, command, return, property | ||||||
Description | Check the clipboard function before using the paste command, to ensure that you're pasting the right kind of data. The value of the clipboard function is a string describing what kind of data is on the clipboard. LiveCode can paste text that has been cut or copied, or picture content from an image, one or more objects that have been cut or copied. If the clipboard has nothing in it, or the contents of the clipboard is a type of data that is not text, image data, or objects, the clipboard function returns empty.
| ||||||
Tags | ui,clipboard |