Does MXS support "catching a file" dropped into max?


#1

Say we have a UI of some sort, saying “drop your file here” (I am particulary thinking of mcr & ms files) and catching that file, so that the behaviour becomes different than when dropping the file into Max?


#2

without the sdk help (without using max sdk and win api) the answer is “no”


#3

You can drag-n-drop them on the dotnet control. link


#4

Check this posted by Denis 7 years ago: Get filename of file being drag & dropped on the viewport


#5

The reason of my question is that I am wondering if it would be possible to drag drop MCR files but only run the macroscript body (is that the right term?) and without the header.

Would that require a dialog that catches the file or can there be other ways?