fullDragData

Provides access to the contents of the drag-and-drop clipboard.

# Metadata

Platforms: desktop OS: mac, windows, linux Introduced: 8.0 Security:

# Syntax

set the fullDragData[key] to data

# Examples

put the keys of the fullDragData

lock the clipboard set the fullDragData["text"] to "Hello, World!" set the fullDragData["html"] to "<p>Hello, World!</p>" set the fullDragData["private"] to "MyCustomData" unlock the clipboard

# Description

Use the fullDragData to gain access to the system drag-and-drop clipboard.

If the contents of the drag-and-drop clipboard were placed there by another app, the clipboard will be automatically cleared when written to. If you want to do this explicitly, use ``set the fullDragData to empty``.

The ``text``, ``rtftext``, ``htmltext``, ``styles`` and ``styledtext`` properties are handled specially by LiveCode: adding any one of them will cause the rest to be automatically generated and added.

If you require lower-level access to the drag-and-drop clipboard, see the rawDragData property.

# Tags

# See

- **property:** dragData, rawDragData - **glossary:** clipboard, drag and drop