lock clipboard | |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Locks the clipboard to prevent updates by other apps. |
Introduced | 8.0 |
OS | mac, windows, linux |
Platforms | desktop |
Example |
|
Related | Command: unlock clipboard Function: clipboard Property: clipboardData, fullClipboardData, rawClipboardData |
Description | Use the lock clipboard command to ensure that other apps do not change the contents of the clipboard while you are working with it.
While the clipboard is locked, the contents of the clipboard available via the clipboardData, fullClipboardData and rawClipboardData properties will not change due to accesses by other apps. Similarly, changes made within LiveCode will not be visible to other apps until the clipboard is unlocked (using the unlock clipboard command).
|
Tags | ui,clipboard |