Forum

    • Register
    • Login
    • Search
    • Categories

    FIleSystem browse directory

    Scripting Forum
    directory browse filesystem folder
    3
    8
    183
    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.
    • d.healey
      d.healey last edited by

      Could we get a function (or an additional option) so that the file browser can be used to select a directory instead of a file?

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

      Casey Kolb ulrik 2 Replies Last reply Reply Quote 2
      • d.healey
        d.healey last edited by

        Seems it was a simple thing to add

        browse(var startFolder, bool forSaving, String wildcard, bool forDirectory, var callback)

        @Christoph-Hart This breaks backwards compatibility, do you think this is okay in this instance or would it be better to make a separate function?

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

        1 Reply Last reply Reply Quote 0
        • Casey Kolb
          Casey Kolb @d.healey last edited by

          @d-healey I would love this too. This would allow us to create custom Change Sample Location buttons, etc.

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

          d.healey 1 Reply Last reply Reply Quote 0
          • d.healey
            d.healey @Casey Kolb last edited by

            @Lunacy-Audio That's exactly what I'm doing 🙂 I have the directory browser working, once I get confirmation from Christoph that the way I've done it is acceptable I'll push to github and make a pull request.

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

            Casey Kolb 1 Reply Last reply Reply Quote 3
            • Casey Kolb
              Casey Kolb @d.healey last edited by Casey Kolb

              @d-healey
              giphy.gif

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

              d.healey 1 Reply Last reply Reply Quote 0
              • d.healey
                d.healey @Casey Kolb last edited by

                @Lunacy-Audio It works! Can work for expansions too!

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

                Casey Kolb 1 Reply Last reply Reply Quote 2
                • Casey Kolb
                  Casey Kolb @d.healey last edited by

                  @d-healey Amazing! I should pull request the createDirectory() function as well.

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

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

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    10
                    Online

                    1.2k
                    Users

                    7.0k
                    Topics

                    64.7k
                    Posts