Jump to content

_cFileSelectFolder, an easy-to-use alternative to FileSelectFolder


c.haslam
 Share

Recommended Posts

_cFileSelectFolder() is intended as a replacement for native FileSelectFolder() for selecting folders: it implements the left pane of FileSelectFolder(). It goes beyond FileSelectFolder() in several ways.

Features:
•    It is user friendly and designed to be easy to use;
•    Its GUI can be placed anywhere, including centred on another window;
•    It neither needs nor uses CLSIDs;
•    It checks calling parameters rigorously, either showing a user error message in a dialog or by returning the message and setting @error to 1.
•    For local and mapped drives, it accepts file specifications with drives that can be drive letters, drive labels, or both,
•    For unmapped drives on computers on the network, it offers a shortcut to shares.
•    For local and mapped drives, it always returns drive letter:\ ... so its output is compatible with native AutoIt functions.

The initial display can be:
•    The Desktop hierarchy with Desktop at the top
•     Partial Desktop hierarchy with any other Desktop item at the top, with or without local/mapped drives and file folders, or remote shares and file folders (as appropriate),
•     Local/mapped drives and file folders, or
•    Remote shares and folders.

The script and example scripts are in the zip file. Documentation beyond what is in the UDF header is in a PDF file. Both are here

Edited by c.haslam
Spoiler

CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard

 

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...