Mira and thispatcher


    Mar 16 2014 | 8:31 pm
    Hi! Someone have tried something like this? Move a comment position with a thispatcher?
    ----------begin_max5_patcher----------
    {
    "boxes" : [         {
    "box" :             {
    "maxclass" : "newobj",
    "text" : "thispatcher",
    "numinlets" : 1,
    "patching_rect" : [ 16.0, 274.0, 69.0, 20.0 ],
    "id" : "obj-5",
    "fontname" : "Arial",
    "numoutlets" : 2,
    "outlettype" : [ "", "" ],
    "fontsize" : 12.0,
    "save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ]
    }
    }
    ,         {
    "box" :             {
    "maxclass" : "message",
    "text" : "script sendbox comment1 patching_position 100 100",
    "numinlets" : 2,
    "patching_rect" : [ 16.0, 242.0, 292.0, 18.0 ],
    "id" : "obj-40",
    "fontname" : "Arial",
    "numoutlets" : 1,
    "outlettype" : [ "" ],
    "fontsize" : 12.0
    }
    }
    ,         {
    "box" :             {
    "maxclass" : "comment",
    "varname" : "comment1",
    "text" : "Press de button...",
    "numinlets" : 1,
    "patching_rect" : [ 16.0, 211.0, 150.0, 20.0 ],
    "id" : "obj-4",
    "fontname" : "Arial",
    "numoutlets" : 0,
    "frgb" : 0.0,
    "fontsize" : 12.0
    }
    }
    ,         {
    "box" :             {
    "maxclass" : "mira.frame",
    "numinlets" : 0,
    "patching_rect" : [ 16.0, 8.0, 268.799988, 191.099991 ],
    "ignoreclick" : 1,
    "id" : "obj-3",
    "numoutlets" : 0,
    "background" : 1
    }
    }
    ],
    "lines" : [         {
    "patchline" :             {
    "source" : [ "obj-40", 0 ],
    "destination" : [ "obj-5", 0 ],
    "hidden" : 0,
    "disabled" : 0
    }
    }
    ],
    "appversion" :     {
    "major" : 6,
    "minor" : 1,
    "revision" : 6,
    "architecture" : "x86"
    }
    }
    -----------end_max5_patcher-----------
    When you move the position of comment with the script sendbox command nothing happens.
    There is other ways to do that, but I stayed a bit curious... =)
    Regards,
    Moysés Lopes