mel/ drop from explorer


#1

For convenience, I would like to drop files into a textScrollList that are selected from the windows explorer. At the moment I get a “Forbidden”-sign. Is it even possible?
So far, I have found nothing.


#2

Hi,

Not sure it’s possible. I remember searching for the exact same thing, but never found a solution. If someone has an idea, I would be interested to learn about it too.


#3

This might be possible through the MExternalDropCallback API with either Python or C++, but not MEL.

The Maya dev kit has an example called externalDropCallback.py that might be worth looking into.

Best,
Ian


#4

Ah, thank you very much.