SelectFolder
Back to ListDescription: Select a folder and return its path
FileMaker Prototype:
Set Variable [$res; ACFU_SelectFolder( string_prompt)]
Category: BOOTSTRAP
NOTE: The bootstrap library comes preloaded in the plugin. Read more
Function source:
function SelectFolder ( string prompt )
FunctionID 203;
string folder = select_directory ( prompt ) ;
return folder;
end
SelectFolder Present a select folder dialogue where the user can pick a folder and return its path. If the user hits cancel the returned path is empty. The user can create new folders in this dialogue.
Example
ACFU_SelectFolder ( "Velg en mappe til rapportene dine")
- On Mac: Returns for example:
/Users/ole/Desktop/MyFolder - On Windows: Returns for example:
C:\Users\mathilde\Desktop\MyFolder - On Cancel: returns empty path.
