Start timer based on the values of the buttons in an array
-
@aaronventure
Good idea, thank you very much! :-) I'll try that.@d-healey
Did you see that I was talking about the value of the buttons? I don't know how to apply your suggestion to buttons... -
@Oli-Ullmann Ah sorry I misread that. I thought you were storing the button values in an array.
-
@d-healey
Ah ok. :-) -
@d-healey
But another question:If I use
getAllComponents
, is there a way to select all components except the components with a specific name?In my case, I want to select all components except the components that have “UI” in their name. Do you know if this is possible?
-
@Oli-Ullmann It uses regex so it might be possible - ChatGPT could possibly help but might require some tweaks to its output because HISE regex is none standard
-
@d-healey
Ok, thank you! :-) -
@d-healey
Thank you, that worked.
For the “UI” example, the code is as follows:Content.getAllComponents(“^(?!.*UI).*$”);
-
@Oli-Ullmann Good to know, I might include that in a video.
Should also work with getAllModulators, getAllEffects, etc.
-
@d-healey
Yes, that's a great topic for a video! If I had known this earlier, it would have saved me a lot of time and programming effort. -
This post is deleted!