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

Mar 9, 2012 at 3:24am

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

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.

#62250
Mar 9, 2012 at 5:56pm

Not possible?

#224883
Mar 9, 2012 at 6:03pm

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

#224884
Mar 9, 2012 at 6:13pm

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.

#224885
Mar 9, 2012 at 6:18pm

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

– Pasted Max Patch, click to expand. –

Cheers

-A

#224886
Mar 9, 2012 at 6:21pm

Thanks! That’s so random.

#224887
Mar 9, 2012 at 6:59pm

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

#224888
Mar 9, 2012 at 9:19pm

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.

#224889

You must be logged in to reply to this topic.