getopenfilenameΒΆ

nil getopenfilename ( string title , string filter , string defaultDirectory , string category )

Open a file selector for reading, 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
  • category the category of file to select