HISE Logo Forum
    • Categories
    • Register
    • Login

    FIleSystem browse directory

    Scheduled Pinned Locked Moved Scripting
    directorybrowsefilesystemfolder
    8 Posts 3 Posters 553 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.
    • d.healeyD
      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 KolbC ulrikU 2 Replies Last reply Reply Quote 2
      • d.healeyD
        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 KolbC
          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.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            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 KolbC 1 Reply Last reply Reply Quote 3
            • Casey KolbC
              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.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                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 KolbC 1 Reply Last reply Reply Quote 2
                • Casey KolbC
                  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
                  • ulrikU
                    ulrik @d.healey
                    last edited by ulrik

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

                    47

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.8k

                    Posts