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

    Mar 09 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.

    • Mar 09 2012 | 5:56 pm
      Not possible?
    • Mar 09 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.
    • Mar 09 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.
    • Mar 09 2012 | 6:18 pm
      No - it works fine in Max 5 too - just not documented as well
    • Mar 09 2012 | 6:21 pm
      Thanks! That's so random.
    • Mar 09 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.
    • Mar 09 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.