create a new object with arguments

    Dec 31 2021 | 1:25 pm
    Hi guys,
    cannot find any documentation about creating a new object AND setting its arguments. I am using (script sandbox replace MyPatch) > [thispatcher] to do that, but seems arguments cannot be set this way. Or are they?

    • Dec 31 2021 | 3:43 pm
      sendbox is meant to mod existing objects
      thispatcher -> helpfile -> p "Making New Objects"
      example script newobject number @triangle 0 @bgcolor 1 0 0 1 @patching_rect 400 400 46
    • Jan 14 2022 | 10:35 am
      Thanks Source Audio, and sorry for the late reply, but there is a way. I post it here for future-forum-information-seekers:
      sending a (script sandbox my_patch_scripting_name args my_arg-1 my_arg n) to [thispatcher] will do the job ;-)