The DragDrop class / ui.DragDrop methods |
Get drag & drop data from the buffer.
getBuffer() RETURNING result STRING
After identifying the MIME type of a dropped object with getSelectedMimeType(), you can call the getBuffer() method to get text data from the drag & drop buffer.
Drag & drop data is only available at ON DROP time, therefore, the getBuffer() method must be called in ON DROP only.