Scripting with "Audio Objects"
Hey guys,
I'm getting into scripting in Max and now I think I'm stuck at the formatting of the messages for the "thispatcher" object.
I already created a "ezdac~" object, however I can't create a simple multiply (*~) object. Do I have to use another syntax with these kind of objects?
This is how I created the ezdac~:
script newobject ezdac~ @varname dac @patching_position 200 200
And the multiply object:
script newobject *~0.1 @varname multdac @patching_position 100 100
Without the @varname and @patching_position args it works, but with them it creates the object with the text.
Is there another argument oder syntax how to create the multiply object?
And for future scripting-issues, is there a list for all objects with their right syntax?
Thanks:)
if you are not sure about object names and types, have a look here
Max.app/Contents/Resources/C74 ... etc
scripting to thispatcher is by no means intuitive and logic.
Different objects (mainly GUI or not) react differently to scripting messages.
in general one can look at attributes of an object to see if it can be addressed
by @.... in new, newdefault, send, sendbox etc.
here one example :
it´s "newdefault" for generic objectboxes.
Thanks guys, I'll look into it!
Also you will need to insert a space between *~
and 0.1
.