utils.filepicker

Invokes the Windows standard "file picker" dialog box

Prototype

filename = utils.filepicker (title, name, extension, filter, save)

Description

This invokes the Windows standard "file picker" dialog box, which lets you choose a file for opening or saving. Usage is:

filter = { txt = "Text files", ["*"] = "All files" }

filename = utils.filepicker (title, name, extension, filter, save)
All arguments are optional.

Returns nil if dialog dismissed, or the chosen filename if not.

Lua functions

Topics