Changing the dir of a patch
mpuckett at man104-1.ucsd.edu
Thu Apr 12 00:02:08 CEST 2001
Hmm, there ought to be a "default saving directory" which could be set
differently from the patch's directory. (I don't think it would be good
to go changing that' what if you wanted to save the patch itself?)
In a external object, you can call canvas_getcurrent() in the "new" routine,
then at any point call "canvas_getdir()" to get teh directory the patch is
in (even if it has changed via a save-as.)
But to save to another directory, the only thing I can suggest is specifying
the complete pathname...
On Wed, Apr 11, 2001 at 04:48:27PM +0200, Linium wrote:
> I would like to know if there is a way to change the directory wich is
> displayed in the title bar after the name of a patch.
> There are some opcodes that take this information for disk output and
> sometimes you don't want that the datas go to this dir.
> On another hand, how to retrieve this information ? I would like to
> automaticly get the dir of a main patch to send it to my various saving
> Best regards,
More information about the Pd-list