HISE Logo Forum
    • Categories
    • Register
    • Login

    Show Preset folder

    Scheduled Pinned Locked Moved Scripting
    8 Posts 2 Posters 226 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.
    • T
      treynterrio
      last edited by

      Hi there, is it possible in the preset browser where you can click on show preset folder to hide everything else (Import all ....., Export all ......, ...) or access the preset folder differently? Maybe with a button that accesses the path to the preset browser when clicked?

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @treynterrio
        last edited by

        @treynterrio said in Show Preset folder:

        Maybe with a button that accesses the path to the preset browser when clicked?

        This.

        You can use the File and FileSystem APIs to do it.

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

        T 3 Replies Last reply Reply Quote 1
        • T
          treynterrio @d.healey
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • T
            treynterrio @d.healey
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • T
              treynterrio @d.healey
              last edited by

              @d-healey I tried a couple things now the script says Compiled Ok but it doesn't work in HISE and it doesn't work in the exported Plugin.

              I tried something like this:

              inline function onButton1Control(component, value)
              {
              	if (value)
              	{
              		if (Engine.getOS() == "OSX")
              		{
              			local folderPathMac = FileSystem.fromAbsolutePath("/Library/Application Support/HZE/SYNBIOSIS/User Presets");
              
              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by

                There's a built in constant you can use that works on all platforms.

                HiseSnippet 819.3ocsUstZaCCEVJMtLmsUVg8.X5OJNPIjr0cAJi0kaivVZCKsk8uhprRinxRAI4tEF8AauB6W6QYuAaGY6z3zV5k.y+vnyMouyQemiFnUTlwnzHr+ASmvP3m3MbpzNt0XBWh50FgWyqOwXY5fLUMmNgXLrHDFuxGcJv9kQoe+48MIBhjxlqBgNRworOyi414ZGr6m3BQWRD6.dbAu2d2dTkrkRnR.7rhWczDB8Lxor8HN2J4gvq1IhaU5gVhkY.eZphlNbr5axL+Oha3mHXNgFngvFkoF0ZLWDMXVtZPHb4Ayy7Uxx7m60mGwuT+7JvyRMDLOhh0.boaCRMd.PBW.Rkyfz5dCoZ9D6bKN77XudR3BYDAJ0EgRlunR+F60RAdHs0hImw5pAgKiH700quU.7q5NUpvkBtjELJQRsbkLPIalXsJYCW7ZkHjphmnjvNsUv4DQBqZkeTwmOJHLWx2WyrIZ4NvpJ9BEkHBh35f2EzkKXCmBDm3ZmxrcUhHlNrfxCML8.MyvrF.I9Y6J2zlMBPTTHrIUC1bS2lUCzx0LJTjmFV0clNkFnDGVcG+JW.4wrzENoVyPb3F44xFUqYb5SynVDg3DfUEd0TE.QgxvdJKaeYXZ5V4hJAW0znQ2ns78R.o5MY1Q202Vfgxj3SX5hEami.eXQR1p2ORFMqrTvQkrmja2eBKWN8dIJa80ojn75Jr5vdsIVhiklqC7aBSa4N3fayNGZyy3r9dsYlyrpIo9leY.P1lZcsbFcVwGwibAjeSf9NB6g+EbZScK9Irfa5qhg3IZPEtjgbNqmLi13X7nq2x.MqpnDAwtXGraTUtAnhuPaiq0PZ31oEGk8.Zqqeqs02WHtt2.tkN9lwXoa.ivcw+CLlOL7odcFMB54lCvxdc+5xN46NN9unRrb4o8IVM2wA1KIdH7F.kAmtTxDFGcnjiOlIW2I6p.CYxnTg+Be4Fa3jw4FaLyHJlP0pioY8YtwsOJUCfIY5qK9vybfbPCTZuWw5bLL8+XJcws5ZA9hkMvWtrAt8xF3qV1.e8xF3aV1.e6cGn6w4OjXUwYsMHT+AcRGVgwcjDfAlxVQ+S4uN39
                

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

                T 1 Reply Last reply Reply Quote 1
                • T
                  treynterrio @d.healey
                  last edited by

                  @d-healey Is it also possible to the User Folder directly at the push of a button? With the script it just shows where it is and then has to be opened then

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @treynterrio
                    last edited by

                    @treynterrio said in Show Preset folder:

                    Is it also possible to the User Folder

                    Yeah should be because the name is the same on all systems. Use the code I gave above and go the next level.

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

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

                    57

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    102.3k

                    Posts