How do I script a newobject at position


    Oct 03 2013 | 11:03 pm
    Hey folks,
    I am trying to create a patcher object from an abstraction I made called mypatcher.
    But when I execute the following script command... script newobject mypatcher @patching_position 100 100
    It creates mypatcher but with the parameters @patching_position 100 100, not setting the actual position.
    So how do I create an object at the xy position that I want?

    • Oct 04 2013 | 8:18 am
      @patching_rect ?
    • Oct 04 2013 | 3:12 pm
      No, unfortunately the problem seems to be that any attribute specified shows up as patcher parameters, like so "mypatcher @patching_rect 100 100"
    • Oct 06 2013 | 12:00 am
      Oh, i see. Solution is in the thispatcher helpfile, script newobject newobj @text mypatcher @patching_rect 100 100