HISE Logo Forum
    • Categories
    • Register
    • Login

    Deleting presets

    Scheduled Pinned Locked Moved Scripting
    5 Posts 2 Posters 81 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.
    • S
      Sampletekk
      last edited by

      Is there no Engine. command for deleting a preset?

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

        @Sampletekk Get a reference to the preset file then you can use File.deleteFileOrDirectory()

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

        S 1 Reply Last reply Reply Quote 0
        • S
          Sampletekk @d.healey
          last edited by

          @d-healey 👍

          1 Reply Last reply Reply Quote 0
          • S
            Sampletekk @Sampletekk
            last edited by

            @Sampletekk said in Deleting presets:

            Is there no Engine. command for deleting a preset?

            Guess you need the full path to the file?

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

              @Sampletekk Yes - or at least you need to know the bank/category/preset so that you can build the path.

              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

              14

              Online

              1.7k

              Users

              11.9k

              Topics

              103.6k

              Posts