PDA

View Full Version : drag and drop file into GUI created in python?


somian
01-30-2013, 09:22 AM
Hi,

I'm working on a little maya script that would allow users to import a file.

Is there some kind of drop callback when the user is dropping in something a file from the finder/explorer?

I know, you can do this using the MMB between multiple MEL-powered controls, but how about dragging from an external app? All I need to know is the file path of the file the user dragged in.

thanks in advance!