Skip to content

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 Pd and go to ToolsFind Externals. Search for context and install it. Then create an object with declare -lib context -path context. Finally, use getdir or any other object from context.

  • Available for .

Similar


    Comments

    Contributors