Skip to content

skygate2012/ReplaceBrowseForFolder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReplaceBrowseForFolder

Modern replacement for Browse For Folder dialogs

Screenshot

Problem: Whenever I come across those "Browse For Folder" dialogs it was always a pain in the assholes, because there is no place to paste the folder path or select from the Quick access bar, etc. Each folder has to be expanded level by level. It is also a hazard for automation as there is no Edit1 to set. Sadly this dialog is still being used to this day by many software, even in AutoHotkey. So I decided to take care of it once and for all.

Solution: The following script will watch for "Browse For Folder" dialogs. When found, a modern folder select dialog would appear on top of it. Once confirmed, it would navigate to the provided path using RemoteTreeView which controls the folder list through memory.
The SetPathForBrowseForFolder function can also be used separately for automation.

Libraries used (for convenience, they are included in the script):
RemoteTreeViewClass
SelectFolderEx

To use, either download and run ReplaceBrowseForFolder.ahk (requires AutoHotkey v1.1); or download the compiled binary from Releases.

Forum post: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=124771

About

Modern replacement for Browse For Folder dialogs

Resources

Stars

Watchers

Forks

Packages

No packages published