sick.
Posts
-
RE: Can we 'get' hex Colour value from Mouse position?posted in Scripting
@d-healey Cool. I'll stop chasin that for now.

-
RE: Can we 'get' hex Colour value from Mouse position?posted in Scripting
@d-healey I think this is a classic colour picker correct? Is it possible to extract hex from a user defined picture?
Say I draw an image onto a panel 300x300 and I want to get the colour value of pixel (200,200) on the panel. Is this possible?
Im trying to do some user custom theme functions where the colour of the gui background adapts colours from a user defined picture.
Possible?
-
RE: Can we 'get' hex Colour value from Mouse position?posted in Scripting
@dannytaurus oh my...thats exactly what I want! yeeee!
Thank You! -
RE: Can we 'get' hex Colour value from Mouse position?posted in Scripting
@Oli-Ullmann he would!
Thanks. Im gonna look for that now. do you remember what the script was called? -
RE: How do you change FilterView floating til 'processorId' by script?posted in Scripting
@dannytaurus ahh I like this way too. I didnt know how to do that. i can actally use that method for my theme switching script I imagine!

-
Can we 'get' hex Colour value from Mouse position?posted in Scripting
I have a drop panel that loads a picture onto a panel.
Is there any way to extract the colour value from a specific pixel (x,y) on the panel?Colour dropper vibes.....
How does one do this?
-
RE: How do you change FilterView floating til 'processorId' by script?posted in Scripting
@d-healey
Well thats a new one!
It works!
Thank You!
In case anyone needs this solution specifically:
const Data = FilterViewMain.get("Data"); // Declare this outside of your function // inside your function call: //THIS WORKS! local data = FilterViewMain.get("Data").parseAsJSON(); data.ProcessorId = "Filter1"; // We're changing FilterView connection dynamically FilterViewMain.set("Data", trace(data)); -
RE: How do you change FilterView floating til 'processorId' by script?posted in Scripting
@d-healey Can you show me please. Im confused now.

-
RE: How do you change FilterView floating til 'processorId' by script?posted in Scripting
@d-healey haha. I have been trying to use uppercase ProcessorId, ProcessorID, processorId.....
Those still same results..
Also, I know data is in property editor as "Data" not "data" so I already tried that too, but im getting all mixed up now. lol.
this is what prints good:
const Data = FilterViewMain.get("Data"); < ---- Prints Good Console.print(Data); -
RE: How do you change FilterView floating til 'processorId' by script?posted in Scripting
@d-healey OK we got prints, but I get this error...am I missing something?
// I moved the 'const' outside of the function....should I keep inside and make local? Console.print(trace(dataAsObj)); data.processorId = "Filter1"; FilterViewMain.set("Data", trace(dataAsObj));
Console.print(trace(dataAsObj)); data.processorId = "Filter1"; FilterViewMain.set("Data", trace(dataAsObj)); -
RE: How do you change FilterView floating til 'processorId' by script?posted in Scripting
@d-healey
Can you help me? Been going in circles. I just cant access the 'Data' properly. I've tried a bunch of different ways but I keep getting 'undefined' or 'property doesnt exist'. Do you have an example of how to do this? Im just chaning processor Id's to keep one filter one the UI and have it change by the current trigger button (what is shown below is inside one of my button callbacks).I just need similar behavior that everything else is doing.
Please.

if (value) { Synth.playNote(60, 80); AudioWaveform9.set("processorId", "Audio Loop Player1"); AudioWaveform9.sendRepaintMessage(); AudioWaveform9.set("processorId", "Audio Loop Player1"); AudioWaveform9.sendRepaintMessage(); knbAttack.set("processorId", "DefaultEnvelope1"); knbAttack.updateValueFromProcessorConnection(); knbRelease.set("processorId", "DefaultEnvelope1"); knbRelease.updateValueFromProcessorConnection(); cmbLoopModeTime.set("processorId", "Audio Loop Player1"); cmbLoopModeTime.updateValueFromProcessorConnection(); btnReverse.set("processorId", "Audio Loop Player1"); btnReverse.updateValueFromProcessorConnection(); btnLoop1.set("processorId", "Audio Loop Player1"); btnLoop1.updateValueFromProcessorConnection(); // Change FilterViewMain here // I've tried a bunch of different methods but have not gotten it right yet. This is just trying to print... Console.print(trace(FilterViewMain.Data.ProcessorId)); } -
RE: How do you change FilterView floating til 'processorId' by script?posted in Scripting
@Lindon I actually tried both. Does it have anything to do with it being under 'Data' in property editor?
Would I access them like this? This actually isnt working but its what im trying now...
FilterViewMain.set(Data.ProcessorId, "Filter1"); FilterViewMain.set(FilterViewMain.Data.ProcessorId, Filter1); // undefined parameter error with these lines...