Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Shows dialog to export files.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FileDialog | 9.1 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Paths | Native file path list for the documents to pass. | "/Containers/testApp/Documents/test.txt" |
Returns OK or error.
Export a temp file:
# build a native path:
Set Variable [ $path ; Value: MBS( "Path.AddPathComponent"; MBS( "Folders.UserTemporary" ); "test.txt") ]
# write a text file
Set Variable [ $r ; Value: MBS( "Text.WriteTextFile"; "Hello World"; $path; "UTF-8") ]
# and show export dialog:
Set Variable [ $r ; Value: MBS( "DocumentPicker.Export"; $path ) ]
This function is free to use.
Created 28th January 2019, last changed 8th July 2020