Jump to content

OpenFolderFileDialog


Danny35d
 Share

Recommended Posts

I search AutoIt v3.2.0.1 help file and forum. I couldn't find anything about OpenFileDialog in which allow me multi select files, folders or both. I decide to make my own function _OpenFileFolderDialog($sTitle, $sMsg, $iFoldersOnly = 0, $iParent = '') still need some work, but it is almost there. What I can figure out is how to create an array with the selected check boxes.

Thanks to Holger (Tristate GUI TreeView) and Randallc (AutoIt3Ex.au3)

Basically I combine the two script.

Unzip and run Example.au3

Thanks in advance...

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
Link to comment
Share on other sites

  • 6 months later...

Danny35d : I've finished your work !!!!

Now _OpenFolderFileDialog() return an array with the selected files/folder

I'm currently working to debug it. I'll post it when debuging will be done :)

Edited by taz742
Link to comment
Share on other sites

_OpenFileFolderDialog($sTitle, $sMsg, $iFoldersOnly = 0, $iParent = '')

Retrun an array of selected TreeViewItems in function of $iFoldersOnly

$iFoldersOnly = -1 >> Display Files & Folders but return only files

$iFoldersOnly = 0 (Default) >> Display Files & Folders and return both

$iFoldersOnly = 1 >> Display Folders Only and return folders

_OpenFolderFileDialog.v2.rar

Edit:

Fixed: 2nd level tree folder wasn't returned in array.

_OpenFolderFileDialog.v2.2.rar

Edited by taz742
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...