Drag\Drop image and get the filename


I’m looking for a way to get the filename of the image, this inside an interface to drag and drop this image. I want to make a personal script to import files through their corresponding images.



If you’re the author of the interface it shouldn’t be a problem at all. Otherwise too little information to answer.
For drag dropping there’re plenty of examples posted over the years.

or if you don’t want to invent anything simply use what’s already there:

<boolean>dragAndDrop.dropPackage <HWND>window <&point>mousePoint <&filenamearray>files