[PD] pd-msg toggle init

IOhannes m zmoelnig zmoelnig at iem.at
Wed Feb 4 09:04:59 CET 2004


noskule wrote:
> hi list
> creating  objects by pd-msg, in general . .. is it possible to initalise all
> the params witch apears in the proberties-dialog . .? 
> . .i try to initalise a toggle-object . .means give arguments for size,
> send, receive and soon . . .but cant get it to work(exept position and
> connection), but  i need to initalise a send and receive -argument in a toggle . . .

hmm, i don't really understand your question.
a) use the properties-dialog, save the patch, re-open it, and everything 
should be initialized (probably you will have to activate the 
"init"-button in the properties, to make toggle send it's value out like 
a loadbang); i guess that is the wrong answer and you know this already.

b) use a textfile editor as frank suggested, but i guess this isn't it 
either, as you can only do offline initialization like with the 
properties dialog; while i have used this a lot (with scripting) it is 
certainly not a very convenient way, and nowadays i would do it differently.

c) you can send messages to the toggle that controls all of it's 
features; everything is documented in doc/5.references/help-toggle.pd 
(there is a subpatch [pd edit] that shows quite everything)

mfg.as.dr
IOhannes





More information about the Pd-list mailing list