List the files in a specific folder
Name | Type | Opt | Description |
---|---|---|---|
pathname | symbol | opt | Specifies the absolute path to a folder on any mounted volume. |
bang | Gets the names of all files of a specific type within a specific folder, and outputs those names to be placed in a message object or a pop-up umenu object. | |
int | input [int] |
Same as | .
anything | pathname [list] |
Functions the same as | .
symbol | pathname [symbol] |
Specifies the pathname of a folder in the search path, and causes the contents of that folder to be output for storage in a umenu or a message. Input pathnames can contain slashes, colons, or backslashes as separators. A pathname looks like this: (absolute pathname) (relative pathname) If the pathname contains any spaces, you will need to enclose the pathname in double quotes in order to cause folder to understand the pathname as a single argument. Alternatively, you can precede each space with a backslash ( ) so that folder won't treat that space as a special character. The path may be used to refer to the Max directory, and the path represents the Cycling '74 directory. |
types | typecode [list] |
The word folder object will look for in the specified folder. Example four-letter type codes for files are for text files and for AIFF format audio files. The type can be used to look for folders, and an empty message can be sent to look for all file types. By default, the folder object looks for TEXT and maxb (Max 4 binary) files. |
, followed by one or more four-letter type codes, sets the file types that the
Name | Description |
---|---|
conformpath | Convert paths of one pathtype and/or pathstyle to another |
dropfile | Define a region for dragging and dropping a file |
filein | Read in a file of binary data |
filepath | Report information about the current Max search path |
opendialog | Open a dialog to ask for a file or folder |
pcontrol | Open and close subwindows within a patcher |
umenu | Pop-up menu, to display and send commands |