setting bpatcher file with js
I modified the following line from the js tutorial, based on information in the forums:
thesliders[k] = this.patcher.newdefault(k*64,384,"bpatcher",
"@presentation",1,
"@presentation_rect",k*64,384,
"@mode", 1,
"@varname", theName);
Wow, it works!!! And separate scripting names for each item!
But I cannot find info on the syntax for setting the file inside the bpatcher. Anybody know what that is??? I tried @patcher_file and @file, and neither works.
Thanks,
-e
Never mind, I got it!!! I realized the attributes are listed by name in the help file. I don't know where it's explained that the attributes there are the same as the javascript ones starting with @, but it just clicked for me....