HISE Logo Forum
    • Categories
    • Register
    • Login

    Save presets outside of 'User Presets'

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 256 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DanHD
      DanH
      last edited by

      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

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      Casey KolbC 1 Reply Last reply Reply Quote 0
      • Casey KolbC
        Casey Kolb @DanH
        last edited by

        @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");
        

        Casey Kolb
        Founder & CEO of Lunacy Audio
        Composer | Producer | Software Developer

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @Casey Kolb
          last edited by

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

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          1 Reply Last reply Reply Quote 1
          • First post
            Last post

          26

          Online

          1.7k

          Users

          11.7k

          Topics

          102.0k

          Posts