How joyhak/quickswitch works
QuickSwitch is a Windows AutoHotkey utility for switching to directories from supported file managers, saved favorites, or clipboard paths while opening or saving files. The documented workflow is: open a file dialog, press Ctrl+Q to show the Menu, then select a path; AutoSwitch can instead change the dialog path automatically. The tree suggests separate menu, dialog, settings, and manager-integration modules, but no source excerpts were provided, so internal call relationships are not asserted.
Main entry points: MenuFrontend.ahk Path menu · TotalCommander.ahk Total Commander · SettingsFrontend.ahk Settings UI · ManagerClasses.ahk Manager paths
Components 16
Application and menu
- QuickSwitch app
QuickSwitch.ahk - Path menu
Lib/MenuFrontend.ahk - Menu logic
Lib/MenuBackend.ahk
Path sources
- Manager paths
Lib/ManagerClasses.ahk - Total Commander
Lib/TotalCommander.ahk - Commander tabs
Lib/TotalCommander/Tabs.ahk - Commander search
Lib/TotalCommander/Search.ahk - Commander config
Lib/TotalCommander/Ini.ahk - Favorite paths
Favorites - Clipboard paths
Lib/Values.ahk
Dialog behavior
- File dialogs
Lib/FileDialogs.ahk - AutoSwitch
Lib/Processes.ahk
Configuration
- Settings UI
Lib/SettingsFrontend.ahk - Settings logic
Lib/SettingsBackend.ahk - Mouse settings
Lib/SettingsMouse.ahk
Other components
- User
Connections 14
- User → QuickSwitch app: launches
README.md - User → Path menu: opens Ctrl+Q
README.md - Manager paths → Path menu: supplies paths
README.md - Total Commander → Manager paths: provides tabs
README.md - Commander tabs → Total Commander: exposes tabs
- Commander search → Total Commander: supports search
- Commander config → Total Commander: uses configuration
- Favorite paths → Path menu: supplies paths
README.md - Clipboard paths → Path menu: supplies paths
README.md - Path menu → File dialogs: opens selected path
README.md - File dialogs → AutoSwitch: can auto-change
README.md - User → Settings UI: customizes menu
README.md - Settings UI → Settings logic: configures options
- Settings UI → Mouse settings: sets mouse controls