Hans-Christoph Steiner wrote:
Hey,
I want to make a general purpose way of getting the window and canvas pointers within Pd. I was thinking that making [canvas_name] accept the filename as a symbol, and then it would output the .x%lx.c.
So my question is, how do I get the canvas pointer from the filename?
you don't. the canvas is per instance (more or less), whereas the filename is per class.
you cannot generate info from the general class for instance-specific data. e.g. i cannot derive "hans-christoph" if i only know "steiner" (at least in austria, "steiner" is a common name).
fgma.r IOhannes