Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 409 Bytes

fileprompt.md

File metadata and controls

11 lines (8 loc) · 409 Bytes

color

Syntax: prompt(filters, defaultPath)

Display open file dialog, returns first file path or empty string

Arguments:

  • filters Optional comma delimited string of file extensions to filter by
  • defaultPath Optional path to open the dialog to

Warning

This is a blocking command and may cause the client to appear frozen until input has been returned from the dialog