KUIML console

Official support for: bluecataudio.com
KVRAF
1859 posts since 14 Mar, 2006

Post Sat Nov 20, 2021 2:44 pm

Here's a question for you KUIML gurus... I wonder if it would possible or difficult to program some kind of KUIML based console... so that I could send various messages to the plugin interface instead of to a file...

It would probably necessarily also need a scroll bar (gasp).
MacPro 5,1 12core x 3.46ghz-128gb 10.15 (opencore), X32+AES16e-50

User avatar
KVRAF
4777 posts since 8 Sep, 2004 from Paris (France)

Post Mon Nov 22, 2021 1:17 am

You could probably do that using a custom canvas and program the whole thing by hand to get a full featured console. An alternative would simply be to use a single line text edit box with a "send" button and enter commands one by one.

KVRAF

Topic Starter

1859 posts since 14 Mar, 2006

Post Mon Nov 22, 2021 6:57 am

I meant output only. A place to send print messages instead of a file
MacPro 5,1 12core x 3.46ghz-128gb 10.15 (opencore), X32+AES16e-50

KVRAF

Topic Starter

1859 posts since 14 Mar, 2006

Post Mon Nov 22, 2021 11:23 am

So just dipping my toes into KUIML for the first time now, please forgive me and correct me if I am thinking of anything stupid...

But perusing through the docs of KUIML it seems like maybe I co old use the TABLE element to build a multi-row table on the GUI...and then perhaps some kind of thing where when I update the bottom row of the table, all the other rows shift up...essentially emulating a console output.

One thing I learned while reading through the KUIML docs is that I can associate script functions with certain kinds of KUIML events, which I guess is a good way to run some angelscript outside of the processBlock function.

So Basically I would use my own print function...which would buffer the lines...and then periodically something from KUIML would cause a different callback function which flushes the buffer to the KUIML table... something like that..

Am I on the right track?
MacPro 5,1 12core x 3.46ghz-128gb 10.15 (opencore), X32+AES16e-50

User avatar
KVRAF
4777 posts since 8 Sep, 2004 from Paris (France)

Post Thu Nov 25, 2021 11:27 am

That's indeed a possible way, but it might be even easier to simply generate a custom KUIML widget with TEXT elements in a column. To generate content dynamically from a script, you can use the KUIML_WIDGET element.

KVRAF

Topic Starter

1859 posts since 14 Mar, 2006

Post Thu Nov 25, 2021 12:41 pm

when you say "generate a custom KUIML widget", I'm not sure what you mean exactly. But I will look into the KUML_WIDGET link you mentioned... thanks!
MacPro 5,1 12core x 3.46ghz-128gb 10.15 (opencore), X32+AES16e-50

User avatar
KVRAF
4777 posts since 8 Sep, 2004 from Paris (France)

Post Fri Nov 26, 2021 9:24 am

KUIML widgets are dynamic widgets which content you can generate after they have been created (like a skin loader inside the skin). That's the most powerful way to generate a GUI after the skin has been loaded. So it might help if you want to do complex things at runtime.

Return to “Blue Cat Audio”