AcediaDocumentation

savefiledialog

Selects a workspace folder and prepares a file with a suggested name.

Yields until selection or cancellation. The picker has no filename input; suggestedName supplies the filename. A new target is created as an empty file, while an existing file is preserved until you write it. Cancellation returns nil.

savefiledialog(options: table): FileDialogItem?

Parameters

ParameterTypeDescription
optionstableRequires suggestedName; defaultExtension optionally supplies an extension.

See FileDialogItem for the object’s members.

Errors: Missing or empty suggestedName raises an error.

On this page