Actually drop the "messy", and the last "else{}" block altogether. I'm using a printhook to send to the gui layer. What is the point for the gui console _not_ to use the printhook? who will use the printhook then?
I think you're right about that. I'll go think about it...
I'll release all this once I can decide what I think is the most portable way to get the GUI to start Pd up (which seems to be necessary if you don't want a "console" window popping up on MSW or Mac). Yuck...
Why yuck? I think it's a feature Pd should have.
Yuck because I can't figure out how to get Wish, when I click on it in Windows, to just run my script and not make a Wish console... also, whatever program one identifies as Pd, it would be desirable to be able to drag a patch to it (or double-click the patch to start it) -- and I don't see how to get Wish to do that for me unless I recompile the whole thing with a very special startup behavior. This means actually sitting at a Windows machine for hours, which I don't find very fun.
On a related note, I also think that commandline options should be replaced by ";pd"-type messages.
Neat idea... ";pd args <blah blah>". This will mean being able, dynamically, to change any features controlled by arguments. Possibly a lot of rewriting. Meanwhile I spent most of last week trying to get a way to save and restore settings OS-independently.
cheers Miller
Mathieu Bouchard http://artengine.ca/matju