New Total Commander core (#33)
Now the Menu displays all the paths from Total Commander without errors! Thank you Dalai for the config search algorithm and Horst for long and patient testing. For the most accurate results, please do not run TotalCmd as administrator or run QuickSwitch as admin.
Details
After a series of my unsuccessful attempts to add this feature, I finally succeeded! Now QuickSwitch searches for your config directory (regardless of its name) and creates a usercmd.ini in it with the custom EM_ command, which invokes the internal SaveTabs2 command.
This amazing update is aimed at improving performance and it was prepared thanks to the incredibly valuable testing by @Arsiendle and @CennoxX! Some settings have been changed, please set them again in "Menu settings".
I really need your feedback! If something is not working for you, please let me know. If you think that app can be improved, write to me.
Changelog
Menu options
- Black list option: if a menu appears where you don't want it to, you can add that window to the black list. The Menu can still be opened with the main key which can be changed in "Menu settings" > "App".
- Only Auto Switch: removed "not now", "never here" options. Now there is a single "auto switch" option.
- Keyboard support: now you need fewer keys to interact with the Menu:
- Path:
0-9.
- Auto switch:
A
- Black list:
B
- Settings:
S
- Hide menu:
Esc / click anywhere
Each option and button in the settings has a corresponding key. Press the u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲ l̲e̲t̲t̲e̲r̲ on the keyboard for quick focus:
C̲ancel – C; Path s̲eparator – S.
Menu settings
- Always Auto Switch: always changes the path. But you can disable this mode for specific windows using "auto switch" Menu option (#64).
- Close old-style file dialog: enable this option if you want to close old-style file dialogs immediately after selecting a path a don't want to wait (#78).
- Nuke button: sets the default settings and puts the current configuration in the Recycle Bin. Use this option to remove all window settings and force "always Auto Switch" mode. The button is hidden for safety reasons. It can be found after clicking "Reset" or "Debug" buttons.
- Show menu:
- If all Menu options disabled (e.g. disable "Auto Switch" to show, enable to hide).
- After selecting path.
- Always (hide only after losing focus).
Features
- Empty menu: if no paths could be found or supported file managers are closed, the menu will display "no available paths".
- More file dialogs: added support for old-style TreeView dialog with
Edit field and simple tree (XY forum); added support for some archivers dialogs (including BandiZip, PeaZip, 7-zip and WinRar) (#43).
- Performance: the speed of the following actions has been improved:
- Auto switch.
- Navigating the selected path.
- Determining the type of dialog.
- Getting paths from file managers.
- Getting the
Directory Opus active tab.
- Saving and reading the configuration.
Refactored
- All dialogs now uses same fast function which uses the
Edit field instead of the address bar (XY forum).
- Reduced disk usage (reduced amount of I/O operations).
- Improved Menu settings and
ini options readability (#84).
- Added retries to fill the path in the dialog (#81).
- Added check for buttons in the dialog.
- Added arrows in "Menu settings" numeric fields and added validation of integers on input.
- Added dialog name to the "Debug" window. Also you can export dialog info and read internal and visible dialog name in the exported file.
- Reduced the number of iterations when parsing the dialog controls, file manager classes, xyplorer child windows.
0/1 values replaced with true/false (ini still uses integers for reliability).
- Improved documentation of code and libraries including comments and readme.
- Complex files are organized into separate libraries.
- Improved display of notifications and errors.
- Added logging about files QuickSwitch couldn't access (including main configuration ini and TotalCmd tabbs file.)
Fixed
- The Menu:
- Remained permanently open after opening the settings.
- Didn't disappear after closing the dailog.
- Showed the various XYplorer variables (XY forum).
- Slowdown if child window is open in
XYplorer.
- Auto Switch didn't work the first time the dialog was opened.
- The colour field did not allow a HEX number to be entered in free format:
#111111, 0x111111 . . .
- Errors appeared when the dialog was immediately closed after opening (#82).
- Rare system error appeared after opening many Explorer windows; added the ability to restart Explorer (#82).