types.directoryΒΆ

type result types.directory ( table desc , string title , string directory )

Creates a directory type, allowing to choose a directory. Ex: types.directory {title="Open a directory",directory="c:/"}

Arguments:

  • desc A table of the type specificities. Acceptable indices are title, directory. All these specifications are optional and should not be filled if default setting is advisable.
  • title The directory dialog title, default is "Open a directory".
  • directory The default opening directory. Default is the Guerilla installation directory.

Return:

  • result The created type