Link in vst
-
hello, I would like to create a button from the vst which will allow the user to go directly to the app data (windows) and applications support (mac) folder. in the preser browser it is possible to access it from "MORE" and import preset. does anyone know the link that allows you to go there directly? That would allow me to simplify the installation of expansion for example. thank you
-
@yall +1 On This Idea Mate
-
I searched for hours in the script of the preset brower looking for link ^^ nothing. so I thought to myself. why not simply modify the text of the "more" button and the text of the "open preset folder" option. I didn t succeed .. I think it would be the easiest. but the script is too complicated for me ^^
-
Yeah totally. This is really easy and I already posted on this topic here.
It's literally just:
FileSystem.getFolder(FileSystem.AppData).show();
Put that in a button callback.
-
@Lunacy-Audio you are a genius .. it seemed so simple ^^. suddenly it will redirect for mac and windows? I suppose so
-
Yup, should work on all operating systems.
-
@Lunacy-Audio thanks u
-
@Lunacy-Audio I just tried it is great. suddenly that references well in the file. is it possible to go directly to the expansion folder?
-
All of the documentation for the FileSystem API is here so you can see what special locations are available via scripting.
However, since the
Expansions
isn't in the special locations yet, you'll need to do something like this:FileSystem.getFolder(FileSystem.AppData).getChildFile("Expansions").show();
-
@Lunacy-Audio thank you very much for these answers
-
Sure thing!