[PD] Install path assumptions for [soundfiler] vs [file glob]
Roman Haefeli
reduzent at gmail.com
Tue Jan 11 14:50:23 CET 2022
On Tue, 2022-01-11 at 13:41 +0000, Pierre Alexandre Tremblay wrote:
>
> With that footnote, I was hopeful to get [file which] to give me the
> path of [media/] but no luck.
[file which] only searches for files in all search paths. It doesn't
work for directories.
>
> I’ve also tried to find a way to get [dir] from pdcontrol
My suggestion was to use the message 'dir' sent to [pdcontrol] object:
[dir(
|
[pdcontrol]
This returns the directory of the patch. You said that the media folder
is not located near your patch. So, I assume it is in your search paths
then. Then I don't know to get its location as absolute path. Sorry.
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220111/d65712a0/attachment-0001.sig>
More information about the Pd-list
mailing list