getsavefilenameΒΆ

nil getsavefilename ( string title , string filter , string defaultDirectory , string extension , string category )

Open a file selector for writing, returns the path to the selected file or nil if none

Arguments:

  • title the title of the file selector
  • filter the file filter
  • defaultDirectory the default directory if no category can be matched
  • extension the default file extension
  • category the category of file to select