utils.directorypicker

Invokes the Windows standard "directory picker" dialog box

Prototype

directoryname = utils. directorypicker (title, initial)

Description

This invokes the Windows standard "directory picker" dialog box, which lets you choose a directory. Usage is:

directoryname = utils. directorypicker (title, initial)
All arguments are optional.

Returns nil if dialog dismissed, or the chosen directory if not.

The directory name returned will not have a trailing backslash.

Lua functions

Topics