Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 8.5 9.0 Statistic
Queries list of paths in folder.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|Path||Native path to the directory.||"C:\Test\"|
Optional, limits what is returned. Default is 0 to report all files. Pass a combination of 1 for showing only files, 2 for showing only directories and 4 for showing only visible files. Add 16 to include package file content on Mac. Add 32 to treat packages as files.
In v7.3 you can add 64 to not list content of invisible directories.
the timeout in seconds. Default is 5.
Returns list of files separated by return.
DescriptionQueries list of paths in folder.
This function is recursive and will look in all subfolders. Due to very large file systems you can pass a timeout. Default is 5 seconds. FileMaker will not respond to user input while the query runs.
The list of names is separated by new line character.
This function needs a native path. Please use Path.FileMakerPathToNativePath function in order to convert a FileMaker style path to a native path.
You can decide on Mac on whether files inside a package (e.g. application) are listed or not. By default we ignore those files, but you can include package content with adding 16 to the filter parameter.
See also Files.List.
If input path ends with / on Windows, we use slash for adding path components in v8.4 or newer. Otherwise we use the default on Windows, which is a backslash.
Queries files in Users folder on Mac:
Queries visible files in windows folder:
Queries visible files in windows folder, limit for 10 seconds:
List only visible files in visible directories:
- MBS FileMaker Plugin, version 8.4pr10
- MBS FileMaker Plugin, version 7.3pr2
- MBS FileMaker Plugin, version 7.1pr4
- MBS FileMaker Plugin, version 6.4pr4
- MBS FileMaker Plugin, version 6.2pr9
- MBS Filemaker Plugin, version 4.1pr5
Created 18th August 2014, last changed 18th September 2018
Feedback: Report problem or ask question.
MBS Xojo Plugins