Aliases
None.Arguments
string
A NUL-separated Win32 filter string containing label/pattern pairs.
string
default:"\"Open File\""
The native dialog title.
Returns
string?
The selected absolute file path, or nil on cancel/native failure.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Shows a Windows file chooser and returns the selected absolute path.
openfiledialog(filter: string?, title: string? = "Open File"): string?
local path = openfiledialog("Text files�*.txt�All files�*.*��", "Choose a file")
print(path or "Cancelled")
