HISE Logo Forum
    • Categories
    • Register
    • Login

    How to prevent the preset browser from closing after a selection?

    Scheduled Pinned Locked Moved General Questions
    12 Posts 4 Posters 632 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.
    • L
      LeeC
      last edited by LeeC

      Hi guys,

      Does anybody know of a way to stop the Hise preset browser from closing after selecting a preset from the list?

      1 Reply Last reply Reply Quote 0
      • NatanN
        Natan
        last edited by Natan

        @leeC Check The Button That you Used To Show Hide The Browser Tab,
        And Set It To Not Saving With Presets 👋

        L 1 Reply Last reply Reply Quote 4
        • L
          LeeC @Natan
          last edited by LeeC

          Can't believe I missed this 😲

          My main hide/show preset button did have 'SaveInPresets' turned off, but then I checked through and found an old hidden, unused button that had it turned on.

          Note to self... Tidy up your mess!

          Thanks @Natan

          NatanN 1 Reply Last reply Reply Quote 0
          • NatanN
            Natan @LeeC
            last edited by

            @LeeC :folded_hands: Glad to Help Mate 🤵

            1 Reply Last reply Reply Quote 1
            • L
              LeeC
              last edited by

              On the topic of Presets, does anybody know how to set a preset folder to 'Read-Only' so that users can't overwrite or rename factory presets?

              I think that this was introduced a while back, but I can't find any documentation on how to achieve this.

              Cheers

              NatanN 1 Reply Last reply Reply Quote 0
              • NatanN
                Natan @LeeC
                last edited by Natan

                @LeeC said in How to prevent the preset browser from closing after a selection?:

                how to set a preset folder to 'Read-Only'

                Yeah, Christoph Added This Up Lately To The Develop Branch.
                And No Example Yet

                L 1 Reply Last reply Reply Quote 1
                • L
                  LeeC @Natan
                  last edited by

                  @Natan Cool, no probs 😃

                  1 Reply Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF
                    last edited by

                    @LeeC I don't know the answer but : There's no function in the API to set a preset as 'Read-Only'. There's an option to set 'factory presets' as Read-Only in the projucer when building Hise. Would that mean the presets you make within HISE are automatically set to 'Read-Only' ?

                    Develop branch
                    Win10 & VS17 / Ventura & Xcode 14. 3

                    d.healeyD Matt_SFM 2 Replies Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Matt_SF
                      last edited by

                      @Matt_SF said in How to prevent the preset browser from closing after a selection?:

                      Would that mean the presets you make within HISE are automatically set to 'Read-Only' ?

                      That's how I understand it.

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      1 Reply Last reply Reply Quote 2
                      • Matt_SFM
                        Matt_SF @Matt_SF
                        last edited by

                        @Matt_SF said in How to prevent the preset browser from closing after a selection?:

                        Would that mean the presets you make within HISE are automatically set to 'Read-Only' ?

                        Confirmed : Save your presets within HISE to set them as 'Read-Only'.

                        Note that the preset banks you create are set to 'Read-Only ' too : it means that if you anticipate (like I did) and create an empty "User Bank" for your end user, he won't be able to save presets within this folder.

                        Develop branch
                        Win10 & VS17 / Ventura & Xcode 14. 3

                        NatanN 1 Reply Last reply Reply Quote 2
                        • NatanN
                          Natan @Matt_SF
                          last edited by

                          @Matt_SF Thank You Matt, Can You Post A Snippet?
                          And What Commit You Use?

                          1 Reply Last reply Reply Quote 0
                          • Matt_SFM
                            Matt_SF
                            last edited by Matt_SF

                            @Natan I'm using last develop version. A snippet won't help much because it's not a script-related function, but here is the option you have to enable before compiling HISE :
                            ReadOnlyPresets.jpg.

                            Once done, just save your factory presets within HISE and they will be automatically set as 'Read-Only' when you compile your plugin.

                            Develop branch
                            Win10 & VS17 / Ventura & Xcode 14. 3

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

                            53

                            Online

                            1.7k

                            Users

                            11.7k

                            Topics

                            101.8k

                            Posts