send from js to receive

    Feb 05 2006 | 11:26 pm
    I want to send messages and other types from js directly to receive objects in max. All I can find in the docs and list is about sending to named objects, which is not useful in this case. I now use a workaround by connecting a forward to the js outlet and settings its target just before sending the actual message. I'm just wondering if there is a more elegant way to do this.

    • Feb 05 2006 | 11:42 pm
      There is the Global JS object that you can use to address receive objects. I believe there is example code of this in the JS PDF.
    • Feb 06 2006 | 12:43 am
      I must have overlooked it. Thanks.