getsavefilename

guerilla.getsavefilename(title, filter, defaultDirectory, extension, category)

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

Parameters:
  • title (str) – the title of the file selector
  • filter (str) – the file filter
  • defaultDirectory (str) – the default directory if no category can be matched
  • extension (str) – the default file extension
  • category (str) – the category of file to select