Assigning scripting names to objects made by thispatcher
If I dynamically create objects with thispatcher, can I assign a name to them with the same script message?
Barring that, how can I refer to them? At the ery least I would need to move them around and connect them.
Is this a javascript job?
Thanks much in advance
joe
With the script newdefault or script new messages, you can give the created object a scripting name, check thispatcher's helpfile.
In the same helpfile, you'll also find how to move and connect objects.
p
Specifically, @varname NAME in the "script new" message will name it whatever you please. You can even include $1 type variables to procedurally generate them.
heyho, long time ago but still crucial..
i want dynamic naming of send objects and dont get it..
i need an object "send sendobjname" with a specific scripting name generated automatically.
whenever i use the syntax "script newobject send @text $1 @varname transmitter"
the result is an object with the name "send @text test_toBDColl_b2 @varname transmitter"
to get rid of the @text i just used - "send $1 @varname..."
result is
does not work either
script newdefault transmitter send test_toBDColl_b2