create new message box from JS


    Apr 04 2013 | 9:27 pm
    Hello, I am trying to create a message box with JS, and the value inside the box should be something like "id 8" (without quotation marks, and with space between id and 8).
    I try this, among other things, but it does not work: this.patcher.newobject("message", 100, 10, 20, 100, "id 8") ;
    any suggestions?
    thanks a lot, ahmet

    • Apr 04 2013 | 9:40 pm
      oh, so simple... all I had to do was to pass 8 as another parameter. (In my case I had to use parseInt as well)
      this.patcher.newobject("message", 100, 10, 20, 100, "id", 8);
      false alarm