getdir
getdir outputs the filesystem directory in which the current patch is operating as a symbol when it receives a bang. A numeric argument such as getdir 1 or getdir 2 requests the path of a parent patch at that level, although the help text does not fully state what is returned when no parent exists there.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forcontextand install it. Then create an object withdeclare -lib context -path context. Finally, usegetdiror any other object fromcontext. - Available for .