dragData
Syntax
dragData(<itemIndex>, <flavor>, {path | type})
put dragData(1, "public.file-url", "path")
Explanation
Gives you the data for one of the items being dragged. “path” is the standard behavior for files and gives you the path of a dropped file URL. “type” is old and no longer supported on macOS X.
To find out how many items are available in a drag right now,
and which types they have use the dragFlavors
function.