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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to