Hi,
I think the problem with "no such file or directory" derives from the second argument, the directory path. I use just a dot (.) to refer to the working directory, but that is a very unprecise information, I came to that from trial and error. Maybe someone can explain that to me...
Besides that, the idea to "outhouse" the menuclose message to the other patch was a good one! It is now working. thank you.
Marius.
----- Original Message ----- From: "Roman Haefeli" reduzierer@yahoo.de To: "post pd-msg" pd-list@iem.kug.ac.at; "marius schebella" marius.schebella@chello.at Sent: Saturday, March 20, 2004 2:51 AM Subject: Re: [PD] open - close patches
hoi
i had problem with opening a new patch by message. i always get "no such file or directory". because of that, i couldn't test it, but maybe it helps you: try for second patch:
[loadbang] | [; pd-first_patch.pd menuclose;]
your example crashed (win98, pd-0.37), altough i couldn't open
second_patch.
so i believe that maybe a msg to close it self crashes, if it is triggered by a bang (bang>crash, mouseclick>closing patch).
may you have any suggestions, why i can't open patches by messages.
Roman
----- Original Message ----- From: "marius schebella" marius.schebella@chello.at To: pd-list@iem.at Sent: Friday, March 19, 2004 6:36 PM Subject: [PD] open - close patches
Hi,
I am trying to open a second patch via message (this is no problem). And
at
the same time i want to close the first patch (which usually is no
problem,
too) but these two actions together cause Pd to crash...
my only hack is to add a delay of some seconds between the two bangs,
but
maybe there is also a clean solution. I also tried to send a trigger
message
with loadbang when the second patch is opened, but that did not work
either.
I think I attach two example patches to explain.
And I am on Win XP with 0.37.0
Marius.