Save presets outside of 'User Presets'



  • I have a custom preset browser for table shapes. I'd prefer to be able to save and load these from a folder that isn't 'User Presets'. I'm under the impression that this isn't possible (to create and access a different folder in the filesystem from the script) - please tell me I'm wrong! 🙂

    Thanks, D



  • @DanH You're wrong 😂

    I save data presets like table shapes in a separate folder in AppData/Data. You just need to make sure you install the folder with your installer, otherwise you won't be able to write presets to it. If the folder is there, you can just do this:

    const var tableShapesFolder = FileSystem.getFolder(FileSystem.AppData).getChildFile("Data/Table Shapes");
    


  • @Lunacy-Audio Aha, .AppData, brilliant, I was hoping you'd reply to this! thank you!


Log in to reply
 

11
Online

1.2k
Users

3.8k
Topics

33.6k
Posts