Possible to drop a folder of files?
-
Is it possible for the user to drop a folder of files into the UI?
I know about setFileDropCallback() but I can't find anything about dropping a folder.
If only dropping files is possible, does the code have any reference to the location of the file on disk? Or does it just get the contents of the file?
I'm trying to create a simple sample player where the user can drop a folder of samples into the UI. The plugin allows the user to play the first sample across the keyboard and then move between samples in the dropped folder.
-
@dannytaurus Only one file can be dropped I think. You can use the File and File System APIs to get information from the file, including its directory.