ACF Library

SelectFileOnly

Back to List

Description: Select a file and return its name. Does not open the file.

FileMaker Prototype:

Set Variable [$res; ACFU_SelectFileOnly( string_startPath;  string_Prompt)]

Category: BOOTSTRAP

NOTE: The bootstrap library comes preloaded in the plugin. Read more

Function source:

function SelectFileOnly (string startPath, string Prompt)
   FunctionID 208;
   string cc = "";
   return select_file (Prompt, startPath); 
end

SelectFileOnly Present an File Open dialogue, and return its path. If user press cancel, an empty part is returned. The file is never opened.

Example

Set Variable [$textFile; ACFU_SelectFileOnly( "~/Desktop";  "Select the text file to include")]
Back to List