getopenfilenameΒΆ

nil getopenfilename ( string title , string filter , string defaultDirectory , string category , [ string currentfile ] )

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
  • currentfile the initial location of the file to load, to open the file dialog at this location