Uten Posted September 11, 2006 Posted September 11, 2006 You can select multiple files with FileOpeDialog(...) Is it possible to have it return folders that is selected rather than open up the last chosen one? Or do you know of a UDF creating a treeview with "checkable" folders returning what you hav checked of?Something like this:FoldersSelect() Exit Func FoldersSelect($initFolder="") ; Multiple filter group $message = "Hold down Ctrl or Shift to choose multiple files." $var = FileOpenDialog($message, @ProgramsDir, "Folders (*)", 2 + 4 ) ;2:Path must exist, 4:Allow multiselect If @error Then MsgBox(4096,"","No File(s) chosen") Else $var = StringReplace($var, "|", @CRLF) MsgBox(4096,"","You chose " & $var) EndIf EndFuncOr a modified version of Holgers tristate GUI treeview sample? Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
new2this Posted November 28, 2007 Posted November 28, 2007 I have the same question. I have an exe that automates a backup routine. I would like to allow users to select multiple directories to include for the backup.
PsaltyDS Posted November 28, 2007 Posted November 28, 2007 I have the same question. I have an exe that automates a backup routine. I would like to allow users to select multiple directories to include for the backup.Use the new UDF functions for _GuiCtrlTreeView_Create() and set the $TVS_CHECKBOXES style. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now