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.
If you look in the opendialog help file there is a tab there for filtering the types of files you are trying to open.
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.
No – it works fine in Max 5 too – just not documented as well
----------begin_max5_patcher---------- 287.3ockR9saCBBEF+Z7ofbt10nXlas2s2fc+RyBJLKM5AifYt0z28Iftp6O Is2.guyGb9N+BmhHPgdPZ.5N5KTB4TDg3kbBjoyDngOTVyMda.JeWWbDhCkr xAqWV2JQghWqqlKo6s0Rq8iVY34AHlBEbrBn6mrzxskGTX0qcxRavEKOeSRL Mc6Cts7stUVxljuuiRD5Www6xla0aZzZTe5aTJa7JAYruQgiYvG7zEdQdi2K 7T2XjgK1CY16m4DOGE4VhuR1zHMFdk7Wvg+bo4+wx0fi6ybaYdnj93eiC1sf C1MhizE3v2bnVg+7mie.b5qYjQ22UNOtSIkdYDDRiUgbqRiK7jsxyAkPH8km mlFknUqP6TDn6WEvnyQeAr1LoFK -----------end_max5_patcher-----------
Thanks! That’s so random.
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.
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.