[PD] The parent patch file name... state saving

Thomas O Fredericks iamonthebeach at gmail.com
Tue Sep 6 06:46:41 CEST 2005


Hi, this question has been unanswered:
How can I get the filename of the parent patch (like getdir or pwd does 
for the directory of the parent patch)?
Why do I want this?
For state saving: I would like to create an abstration that saves an XML 
file (with the help of pool and memento for example) in the same folder 
as the parent patch. The file would have the same name except for an 
appended ".xml". That way, once you reload the patch, it reads the xml 
file, and voilà, your settings are restored.

What do you think about this aproach?

Tom




More information about the Pd-list mailing list