Engine.getUserPresetList() path, check/exclude duplicate entries in list?
-
You need to use the scriptnode branch.
-
@d-healey
hmm. I downloaded the scriptnode version, compiled successfully butlaf.registerFunction
still gives me an error of:Unknown function
.
Any thoughts? -
@ten7kur Read the documentation again
const var laf = Engine.createGlobalScriptLookAndFeel();
;) -
@d-healey
Ha. Im a dumb ass.Ok i see how the presetBrowser is theme-able.
I have 2 questions.- Is it possible to change the Favourite Icon? I really dont like that star!
- Is it possible to Hide a specific folder from display?
Thanks!!
-
1: Not sure
2: Also not sure but I lean towards not possible. -
@d-healey
I looked to find the Star image in HISE uncompiled version but have only found thehi_core/hi_images
dir, and its not in there..... :( -
@ten7kur It's probably a vector
-
Although the presetBrowser theme-ability is great! i think i still need to stick to some custom stuff.
In my instance, i need 2 presetBrowsers.
Browser1 shows: BankName1>Complete Kits>Preset
Browser2 shows: BankName1>Individual Instr.>PresetUnless i can hide a directory from showing in the stock PresetBrowser @Christoph-Hart (could you confirm this is not possible?) i need a custom solution.
This brings me back to my post# 1.-
How can i exclude duplicate entries from being put into browser_CAT1List and browser_CAT2List??
-
And how could i hide a specific entry(list) from displaying in a viewport?
Thanks!
-
-
Hi, im back.
I really need some help.Ive gotten the first viewport to show Preset Banks ok. Viewport2 for a while worked and displayed the second directory correctly, now all the sudden its showing duplicate entries.... ??
The third viewport shows all the Presets, but how can i link them to CAT2?
Thanks !!HiseSnippet 2338.3oc2X0raajbDdFIMah3tx6ZGifjaSHxARDYQJYuaBhgPn9gZWBKYQKJ6j.EAilyzjrW0r6YmoGIy0vHF4zdL2RNlWg7F364xBjq4gHGyMmpldFN8PQIQKGuXclKjcUU28WUcUUWc0NT5QihjgV1Kd3n.pk8G4zYjPMXqADlvp01V12vYORjhF5pIs4n.RTD02x1d9OGIXu3BVIe+6eylDNQ3QyIYY8DIyitKaHSkSsciGv37cH9zCYCMj9dMZ4IEaI4xX.Oy6T2Jf3cBoO8gDTr4brr+fl9LkLrihnnQV1KrozeTmAxyDZ4eBKh0kSwAqZ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t6scFI71KI.H2UJ4r7vP3EAPtZysBgYSAArE9ljOPJUXJJytG2gLLfSAKZnBV9BRSOkFFUbEfXzzFH+PmZ3ibhpojCqkV2assCiG9.l5NDOYbjh4kP3DfvFYD1TBOVfFU6Dl2Ia7zjtltxYjS0QxN13djDE6XeyegkEGziDnkwimnX9Y7smelcHdCZg8BeutE1e2kYZ9YCtWQW1WLCicXnmVSwoTNDWkfwaAuXpGIlqxnVLnZOoPFLPJXdE8KUgr98oglXepJzFJEDajS41MNfxojHi.fedicgZDIgSFZ8FXKVc1sEW140OwQCWWLSf6+ebix7uucix+Sc4ukSaIej1AVWbSBHxqz4hu.AxzNtHGilQ7Hyi8htrK23QwDtgk9es2ueiMYAR3UPyzov02CegYzU4GmW416S923Iy6O38m5jdn6hF62ev8Mbdz2C.6AxX7cu6QfqXvpPfWg0AJAyiB.U.OZA6Yo8bX2E0iqmUXRGpvOYvqguTlqhisSYtZFyuS1igDuP4S8z88DiQ+gIT.8VjT81hN6gicG2vSGm5qTGeOD6oddXhx6rpk0zmyZWi4b2qwbt20XNe50XNe10XN+xqwb9UW5bvxH2HFJlV6+CDZ2Lo6E11iqj2ddq+Kn54nL.
-
Its been some time now since my last post.. Someone must know...?
I can't figure it out...
Could some one please take a minute to have a look at the script?
Thanks