Loading presets from expansions



  • Is there any way to load presets from expansion? I tried play with loadUserPresets but this method pointing to root folder.



  • If you're using the build in preset browser you'll see all of the expansions presets, when you select a preset it will load the associated expansion.



  • @d-healey Ok thanks. I decided to create own preset browser but i have issue with accessing AppData folder via FileSystem

    inline function getPresets() {
       local appDataFolder = FileSystem.getFolder(FileSystem.AppData);
       local presetsFolder = appDataFolder.getChildFile("UserPresets");	            
       local fileList = FileSystem.findFiles(presetsFolder, "*", true);
    }
    

    and i can't get any files from AppData, my array is empty.



  • The end user's folder is named User Preset with a space between the words - because it's less nerdy than the camelcase UserPreset folder.

    Whether that was a good decision is another question...


Log in to reply
 

12
Online

1.3k
Users

4.3k
Topics

38.6k
Posts