HISE Logo Forum
    • Categories
    • Register
    • Login

    Possible to drop a folder of files?

    Scheduled Pinned Locked Moved General Questions
    2 Posts 2 Posters 168 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.
    • dannytaurusD
      dannytaurus
      last edited by

      Is it possible for the user to drop a folder of files into the UI?

      I know about setFileDropCallback() but I can't find anything about dropping a folder.

      If only dropping files is possible, does the code have any reference to the location of the file on disk? Or does it just get the contents of the file?

      I'm trying to create a simple sample player where the user can drop a folder of samples into the UI. The plugin allows the user to play the first sample across the keyboard and then move between samples in the dropped folder.

      Meat Beats: https://meatbeats.com
      Klippr Video: https://klippr.video

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

        @dannytaurus Only one file can be dropped I think. You can use the File and File System APIs to get information from the file, including its directory.

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

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

        13

        Online

        1.7k

        Users

        11.9k

        Topics

        103.6k

        Posts