Is there any good way to get a patch's working directory, I've looked around but havent found any satisfactory way, what am I missing?
Zachris Trolin z@hidekultur.com
Ok, yes. I didn't express my need clearly :)
I would like to know the directory in which the patch is saved from within pd. As a symbol or a message that is. I have searched a bit but havent got any clue so I'm asking here.
/z
sön 2004-06-20 klockan 18.21 skrev Anton Woldhek:
Is there any good way to get a patch's working directory, I've looked around but havent found any satisfactory way, what am I missing?
Hi Zachris,
Isnt it just the directory in which is the patch is saved?
Cheers Anton
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list
I would like to know the directory in which the patch is saved from within pd. As a symbol or a message that is. I have searched a bit but havent got any clue so I'm asking here.
i think this is a perfect application for günter geiger's shell external:
|pwd( | |shell| | |print test|
probably only working on linux / osx, maybe with cygwin???
cheers...
mailto:TimBlechmann@gmx.de ICQ: 96771783
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs
Hallo, Tim Blechmann hat gesagt: // Tim Blechmann wrote:
I would like to know the directory in which the patch is saved from within pd. As a symbol or a message that is. I have searched a bit but havent got any clue so I'm asking here.
i think this is a perfect application for günter geiger's shell external:
|pwd( | |shell| | |print test|
This will print the directory, pd was started from, not the patch file's "pwd".
I'd say, if you want to know the path, the file is in, then why not create a message inside it containing the path you saved the patch to? I mean, the patch author knows the path anyway.
A related, but easier approach is what I use all the time: save paths of things like used samples in a preset using the Memento state saving system. This keeps patches reusable and the presets are very flexible and can even be moved across machines (home <-> laptop) easily.
Frank Barknecht _ ______footils.org__