Forums > MaxMSP

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

March 9, 2012 | 3:24 am

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.


March 9, 2012 | 5:56 pm

Not possible?


March 9, 2012 | 6:03 pm

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


March 9, 2012 | 6:13 pm

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.


March 9, 2012 | 6:18 pm

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

– Pasted Max Patch, click to expand. –

Cheers

-A


March 9, 2012 | 6:21 pm

Thanks! That’s so random.


March 9, 2012 | 6:59 pm

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


March 9, 2012 | 9:19 pm

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.


Viewing 8 posts - 1 through 8 (of 8 total)