How to get file path of current plugin in [vst~]

Anthony Prechtl's icon

I need to get the path of the file that was chosen after "plug" is sent to [vst~], but I can't figure out how to do it.

Of course, I could just use [opendialog] to get the file, rather then "plug", but then there's no way to limit the selection to just plug-ins.

Thanks.

Anthony Prechtl's icon

Not possible?

Andrew Pask's icon

If you look in the opendialog help file there is a tab there for filtering the types of files you are trying to open.

-A

Anthony Prechtl's icon

Is that a Max 6 feature? I'm using 5.1.9 and there only seems to be a few filters possible (for text files, audio files, movies...), but nothing for VST.

Andrew Pask's icon
Max Patch
Copy patch and select New From Clipboard in Max.

No - it works fine in Max 5 too - just not documented as well

Cheers

-A

Anthony Prechtl's icon

Thanks! That's so random.

Roman Thilenius's icon

of course using a dialog is not the same as using the "plug" message with no argument.

the other two options are drag and drop or moving your plug-ins into the runtime search path - in these cases storing the file path is a nobrainer.

-110

Anthony Prechtl's icon

I'm not sure what you mean. I didn't say that using a dialog was the same as using the "plug" message with no argument.