On Jul 14, 2004, at 12:37 AM, Miller Puckette wrote:
- Someday there should be a way to open a Pd patch from a web
browser. This shouldn't start up a whole new pd process but connect with an existing one, if one exists. I'm not sure how this should play out: whether the TK layer should handle this or the pd layer.
I'm thinking of implementing (3) (from the pd layer) sometime soonish.
I think that it would probably make the most sense to use the standard OS-specific methods for doing this. I just researched this a bit for MacOS X, where you create a proc called tk::mac::OpenDocument, which will then be called when the OS wants to send some files to the right program, either because of its file type or because the files have been dropped on that app's icon. I found out about this here:
I am sure that there are equivalents for other OS's.
.hc
cheers Miller
On Tue, Jul 13, 2004 at 09:16:48PM -0400, Mathieu Bouchard wrote:
On Tue, 13 Jul 2004, Hans-Christoph Steiner wrote:
I am working on making Pd behave like a proper MacOS X app and in order to do this, I have to make Wish Shell.app launch the pd process rather than the pd launching wish, as it currently does. I was wondering whether anyone has made any attempts at this and whether anyone has any advice about approaches or possible pitfalls.
I was going to do this a few months ago but I got sidetracked by several gallery shows in a row. I still plan to make a rather stable IMPD (0.37.B) by the end of the summer, probably the end of this month. All I want to do before 0.37.B is to correct bugs and refine existing features. _After_ 0.37.B, one of the first things I'll do is delete pd/src/t_tkcmd.c and rewrite a smaller version of it in pure Tcl (that would be inserted in u_main.tk).
Mathieu Bouchard http://artengine.ca/matju
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev
________________________________________________________________________ ____
"Information wants to be free." -Stewart Brand