Hello-
I am having great fun with IanniX, but have hit a snag in scripting…I want to enable two messages per cursor like:
iannix.execute("setMessage current 20, osc://130.237.238.247:7770/scene/lightlidx " + index + " cursor_value_x");
iannix.execute("setMessage current 20, osc://130.237.238.247:7770/scene/lightlidy " + index + " cursor_value_y");
but only the latter message is sent…what am I missing?
-apo
Hello,
i think you cannot set multiple messages from same object, but you can set a message with
many value, i.e. if you want that your object send cursor x and cursor y, you can make
iannix.execute(“setMessage current 20, osc://130.237.238.247:7770/scene/lightlidx ” + index + ” cursor_value_x” + ” cursor_value_y”);
this will send: index, cursor x value, cursor y value
Hope helpful although my english,
ciao,
francesco.
Thanks. Maybe true from a scripting standpoint, but one can add multiple messages like this from the IanniX GUI with the “+” button.
I like your solution, but my software listening on the other side is not so flexible.
-apo
I did not know that.
And then i have know something more, thank to You.
(i’m only a newbie).
Maybe some expert could tell us something.
Ciao,
francesco.
Hi!
You can send multiple messages by separating them with a comma!
iannix.execute("setMessage current 20, osc://130.237.238.247:7770/scene/lightlidx " + index + " cursor_value_x + ", osc://130.237.238.247:7770/scene/lightlidy " + index + " cursor_value_y");
Easy!
Perfect! Thank you very much!
-apo
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |