FS.FileDialog
Creates a file dialog to open files
Examples
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 | ; pick any file
FS.FileDialog | Log("file path")
; pick any file from the parent directory
FS.FileDialog(CurrentDir: "..") | Log("file path")
; pick only .edn and .log file
FS.FileDialog(Filters: ["edn" "log"]) | Log("file path")
; pick any folder
FS.FileDialog(Folder: true) | Log("folder path")
; pick any files
FS.FileDialog(Multiple: true) | Log("file paths")
; pick any files from the parent directory
FS.FileDialog(CurrentDir: ".." Multiple: true) | Log("file paths")
; pick only .edn and .log files
FS.FileDialog(Filters: ["edn" "log"] Multiple: true) | Log("file paths")
; pick any folders
FS.FileDialog(Folder: true Multiple: true) | Log("folder paths")
|