SaveFileDialogue
Back to ListDescription: Opens a file-save dialogue, and return the file path selected.
FileMaker Prototype:
Set Variable [$res; ACFU_SaveFileDialogue( string_prompt; string_proposed_folder; string_proposed_name)]
Category: BOOTSTRAP
NOTE: The bootstrap library comes preloaded in the plugin. Read more
Function source:
function SaveFileDialogue ( string prompt, string proposed_folder, string proposed_name )
functionID 209;
string newfn = save_file_dialogue (prompt, proposed_folder, proposed_name) ;
return newfn;
end
SaveFileDialogue Present a File-Save dialogue to the user. It will show the proposed folder, and filename filled inn with the proposed name. If the file allready exists, the user gets a warning if he/she wants to overwrite the file. This function never opens the file, but return the selected name to be used in subsequent functions. If the huser press cancel, it will return an empty path.
Example
Set Variable [$filename; ACFU_SaveFileDialogue( "Save the report"; "~/Desktop"; "MyWeeklyReport.csv")] 