Dialogs
Native file and folder picker dialogs.
Shows an open-file dialog.
local file = openfiledialog("Text files (*.txt)|*.txt|All files (*.*)|*.*", "Choose a file")
print(file)
Shows a multi-select open-file dialog.
local files = openfilesdialog("Lua files (*.lua)|*.lua", "Choose scripts")
print(#files)
Shows a save-file dialog.
local path = savefiledialog("Text files (*.txt)|*.txt", "Save config")
print(path)