Possible to edit Component Specific Properties through the gui?
-
I'd like to edit some of the Component Specific Properties through the gui of my compiled plugin. Is it possible to script a custom combo box or floating tile that allows you to edit things in the Property Editor: Interface section through the gui of a compiled plugin?
For instance: I'd like to be able to change the step size on a knob from .01 to 1 through the gui. Does anyone know how this is done?
-
You can use the following I believe:
Knob1.set(String propertyName, var value)
eg
Knob1.set("stepSize", 1);
-
Doesnt solve the original question but if you hold Ctrl while dragging a slider it will use a finer resolution.
-
Is this the kind of thing you were going for?
HiseSnippet 956.3ocsVEtaaaCDlxIpqVctnEnO.D9O0FH0Udqsq.ECyKNICFcI0nJqXXcEEzRmiIhDo.EcR7JJPed5SWeC5NRIYoj5jFXfn+c7tuie738cTiUxPHKSpHNMObQJPb9Q2fEB8rgyXbAYzNDm65tOKSCJZ9RauHkkkAQDGmM9CyBNM2jX+9xusMKlIBgpkHj2H4gvexS35pUGO3k7338XQvg7jZQ+jAiBkhgxX4bjOa35SRYgGyNBNfYBqgKw4V6Fw0RUflogLhylaKiVDLSdpHO92vy3ShAiQeR.ln7k2SFGYXrYUxvY73nwkm6LBlkwUUgMxqBOvcedDe45UUi6YcPqPTud3z3pnW+5zy+5SOmZzayb5ce2fPEOUW4wvs63NRfWTSY3UPcZkGKowma3NThQHz8RXGC6oPikH57Le+snO02u6KZ40xCuHxzzSX30tLYhba4Y8o+JsD9QfFWNUJPiNsWFQaC1JjuTHmb4nrdamuas7d7iwnNATZpdFPCMYbh7L5C4ZHI6gzoJYBkQyzJt3HpVRYBJSoXK5QMXObFHPmREP4ZJG8QEvo4QfIjoomhIEwnfofBvdzUbFecoOKkKNRFR2oskEs61KKMlil+qXIua4wEwbAPmNWDp4RA0zAW.1bvUx3Ngkm5svcKdNzsk2GZ40zVA5kY1.TfkFv+On8VWfKu0Bf9HZ+2Y1xOZ21u60fIoEa9PVb7DTF04a4U2WTizGH0vqDc558AuldezidQWSmtReEoJFTqzsQfqtJfcDySl.pxBSYfXm94kRtWtTptROLuxTKPoXjfqeUJHtLAFonbhRsFErBCUaEZ2sPnEDyi.Egi5oev0duQrDt9nNxEAeuBvk0cK763t7Z3ho31CH+0ncXZlQzWPJjnonpfapAN6.mfSSyGAzzcGH6XsL0x5hl.rN8c48YK2vO8OCVTYHFT1DVVnpx5stlGnpbSBpm62NHgg9bc1.srhICE86422yuWeu9dd3qBeyTNbVqLZdLSe9AvlWcJbfsRmaRmYZlHiqWT+UoajoxWW5de2wbc3rUy2FqfultvaX9V7FWK2cmNEB0UjcS2896a9GzHuVNWiiw2mgSyMcEGLOI.exODPlHDPrQt6zvHnxs8M11dJPDYM9J9U3ruw1ovY+RmjDVnR99vbEo4UzaaWA4jv9yDMw+pAsoKEgtl1QRB9396CCMkhGgbe0X9o0.yOuFXdxZf4oqAlmsFX9k0.yyuRLl+q52mqkI4xDbgw6ZGF53rqfgcY1NRx+Sj6r2D
-
@LeeC Yeah, that's exactly the thing I'm looking to do. I've been able to use what you did to control other parameters. However, I'm having trouble creating a second combo box to control another parameter. I copied and pasted the code you wrote and changed the references from combobox1 to combobox2, but it says that I've got a duplicate const var when I go to compile in the script editor. How can I have one combobox to control the stepSize and another to control the max value?
-
@TNTHM Yeah you must have duplicated a variable somewhere in your code. Can't say where exactly without seeing it though
This should work to control the max value using a second combo box:
HiseSnippet 1062.3ocwW01aaaCDlx1paVotnEX+.H7WpCPpqrVS2.FFpWbR5LZRpQcVwvdqiVhNlHRjBTzIwqn.8mb+GrcTRVlwQINwcCSexGO9b2CeH4wyCjBeZRhPhrpe7rXJx591CmwUS5Mgv3n96hrdf8gjDEUhyFZmYwjjDZ.xxp5K0CXUuFJ86SuXGRHg6SWLDB8VAymd.KhoVL5ftuhEFtOIfdLKxX1OqaeeAumHTLE3SUaWTLw+TxIziH5oUwFYcu8BXJgbnhnnIHqZ6HBlMbh3bd17eKKgMJjpM5fFBAJa38EgAZFqGE0aBKLXv70cBBhxfEpP0LU3qrOjEvJFegZ7vTG3EHL0CqJ2D85XRO2RomaYzyxfd0xn2irG5KYwpE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