/// <summary>Displays a standard dialog that allows the user to select a folder.</summary> /// <param name="StartingFolder">If blank or omitted, the dialog's initial selection will be the user's My Documents folder (or possibly My Computer).</param> /// <param name="Options">0: The options are all disabled | 1 (default): A button is provided that allows the user to create new folders. | Add 2 to the above number to provide an edit field that allows the user to type the name of a folder. | Adding 4 ensures that FileSelectFolder will work properly even in a Preinstallation Environment like WinPE or BartPE</param> /// <param name="Prompt">Text displayed in the window to instruct the user what to do. If omitted or blank, it will default to "Select Folder - %A_SCRIPTNAME%" (i.e. the name of the current script).</param> public static string FileSelectFolder(this string StartingFolder, string Options = "", string Prompt = "") { _AHK ahk = new _AHK(); return(ahk.FileSelectFolder(StartingFolder, Options, Prompt)); }