QD_SetDroppableFileUTIs(areaRef; areaRef):error
areaRef Longint Area reference
fileUTIs Array text Droppable file UTIs
error Longint Error result

Configure a QDrop area to accept specific file UTIs on Mac OS X

Parameter areaRef is the reference to the plug-in area.

Parameter fileUTIs is a text array that specifies the file Uniform Type Identifiers that will be accepted by the area.

In addition to standard file UTIs such as "public.text" and "public.jpeg", a set of magic file types that provide extra matching criteria can also be used.

qd_anyFileMagic "any*" Accept any file
qd_folderMagic "dir*" Accept folders
qd_QTImageMagic "qti*" Accept image files supported by QuickTime
qd_QTMovieMagic "qtm*" Accept movie files supported by QuickTime

WARNING QT magic types will not work on Windows, unless QuickTime is installed on the machine.


   // Accept text files, images, and QuickTime movies




Related commands

QD_GetDroppableFileUTIs Get the file UTIs accepted by a QDrop area on Mac OS X