How to reference local RS widget script handle from global rackspace script?

I’ll respond here instead of that other thread.

I think you’ll need to use OSC_SendStringSpecific instead of OSC_SendString. Here’s the listing from the System Function page.

OSC_SendStringSpecific : Send an OSC message with a value of type String to the specified ip address and port

  • Declaration: function OSC_SendStringSpecific (address : String, value : String, ipAddress : String, port : Integer)

This means using the localhost IP address of 127.0.0.1 and then using the listening port of the instance you’re sending from. So, if your listening port was 15000, it would look like this:

OSC_SendStringSpecific("/lbl", txt, "127.0.0.1", 15000)

I tried it very quickly using the script from the other thread and was able to get the caption from a widget in the Global rackspace over to a widget in the local rackspace this way.

caption