relative paths
Posted: Fri Feb 22, 2013 8:25 pm
I wonder if it's possible to do this (without ruby).
I noticed, that the standalone/exe app recognizes, at least to some degree - relative paths, i.e. if a required file follows the exe, then if preset manager uses only the filename (without path) - the file is loaded.
Now I'm thinking about something else. Combining dropdown list with a relative folders (with subfolders and subsubfolders and files), a relative structure that follows the app. So for example you have in your main directory:
app.exe
folder/subfolders/subsubfolders/files
then in the app - you always get (auto-loaded) the:
menu-items = subfolder-names
submenu-items = subsubfolder-names
subsubmenu-items = file-names
(multi-level menu in dropdown list works - tested).
Plus - if it could work if you move the man directory with your app wherever you want to. This is for user interface only, so no big deal of in vst activity only dll is duplicated somewhere else by the host.
Now - using dropdown list has one advantage over clicking to load an external file. No glitches in visual interface (whole screen flickers few times).
Anyone played with it?
I noticed, that the standalone/exe app recognizes, at least to some degree - relative paths, i.e. if a required file follows the exe, then if preset manager uses only the filename (without path) - the file is loaded.
Now I'm thinking about something else. Combining dropdown list with a relative folders (with subfolders and subsubfolders and files), a relative structure that follows the app. So for example you have in your main directory:
app.exe
folder/subfolders/subsubfolders/files
then in the app - you always get (auto-loaded) the:
menu-items = subfolder-names
submenu-items = subsubfolder-names
subsubmenu-items = file-names
(multi-level menu in dropdown list works - tested).
Plus - if it could work if you move the man directory with your app wherever you want to. This is for user interface only, so no big deal of in vst activity only dll is duplicated somewhere else by the host.
Now - using dropdown list has one advantage over clicking to load an external file. No glitches in visual interface (whole screen flickers few times).
Anyone played with it?