HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Tags
    3. search
    Log in to post
    • All categories
    • R

      Searching across all expansions

      Watching Ignoring Scheduled Pinned Locked Moved General Questions preset browser search expansions
      9
      0 Votes
      9 Posts
      376 Views
      R

      @mehmethand said in Searching across all expansions:

      @rzrsharpeprod

      const var exh= Engine.createExpansionHandler(); var presetList=[]; var expList= exh.getExpansionList(); for (e in Engine.getUserPresetList()) presetList.push(e); for (i=0;i<expList.length;i++) { for (e in expList[i].getUserPresetList()) presetList.push(e); } Console.print(trace(presetList));

      I'm not in front of the computer but this should work.
      @mehmethand
      Your code did work. I have now populated a viewport with the list of all presets across all expansions. I can also type into a 'search box' which is actually a label and then the matching results are shown which is a good start.
      I am struggling to figure out how to link further code to it so that I can load the relevant preset when one of the results is clicked. Do you know if this is possible?
      Thanks in advance

    • CasmatC

      For You: Searching a Viewport

      Watching Ignoring Scheduled Pinned Locked Moved Presets / Scripts / Ideas search viewport snippet
      2
      3 Votes
      2 Posts
      550 Views
      DabDabD

      @Casmat Excellent.. That is what I was looking for on my last post https://forum.hise.audio/topic/7889/custom-searchbar-for-viewport-possible

    • d.healeyD

      Preset browser search bar and tags

      Watching Ignoring Scheduled Pinned Locked Moved General Questions preset tag search expansion filter
      1
      1 Votes
      1 Posts
      289 Views
      No one has replied