change picture in [pictctrl] by scripting using [thispatcher]


    Nov 12 2011 | 1:15 pm
    Dear advance users,
    Is it possible to change the picture in a [pictctrl] by scripting using [thispatcher]?
    best, prko

    • Nov 12 2011 | 1:44 pm
      Use a message like this "script sendbox (object script_name) (route of the file) "
    • Nov 12 2011 | 1:50 pm
      Without using the inspector you can use the "name" message followed by the path to the image you want. Using [thispatcher] you would need to give the [pictctrl] object a scripting name and then send it a "script send" message like this: "script send name ".
    • Nov 12 2011 | 2:47 pm
      Upsss sorry i had forgotten the "name" part in the message to "thispatcher"
      Yep luke is more easy using the "name" message but prko has asked about thispatcher. I think that the proposition of luke is a better way.
    • Nov 12 2011 | 2:49 pm
      Dear Alersito and Luke,
      Thanks a lot!