Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
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