Updated QuickSwitch [AutoHotkey]

Discuss and share scripts and script files...
Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

FoxWMulder wrote: 02 Dec 2025 11:23 IF I have XYplorer open with the "This PC" tab PINNED, then when the save dialog opens, it closes saving a file named "This PC".
Very interesting... What version of XYplorer are you using?

I recommend not changing the source code. Instead, open Settings > Theme tab, find Show sections in Menu text and uncheck locked tabs below it.

FoxWMulder
Posts: 24
Joined: 29 Sep 2023 03:33

Re: Updated QuickSwitch [AutoHotkey]

Post by FoxWMulder »

Raf wrote: 02 Dec 2025 11:51 What version of XYplorer are you using?
27.00.01.00
Raf wrote: 02 Dec 2025 11:51 Instead, open Settings > Theme tab, find Show sections in Menu text and uncheck locked tabs below it.
This option is disabled by default and I have not enabled it.

Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

FoxWMulder wrote: 02 Dec 2025 11:23 I found the condition under which this bug appears and does not appear. IF I have XYplorer open with the "This PC" tab PINNED, then when the save dialog opens, it closes saving a file named "This PC". If the tab with "This PC" is not fixed or the tab with the name "This PC" is not open, then there is no bug!
I tried to fix this issue in version 1.4.6. You can also change the tab number that AutoSwitchwill activate. Open Settings > Menu tab.

Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

QuickSwitch βeta 1.8.6
Fixed regressions
  • Fixed Menu Settings window positioning.
  • Fixed Menu positioning after pressing Ctrl+Shift+Win+0.
  • After enabling "AutoSwitch" option, the file dialog may have closed (#77).
Fixed bugs
  • The Menu displayed incorrect paths from Xyplorer after disabling the (show) locked tabs option on Settings > Theme tab.
  • The Menu displayed system and special directories (e.g. Recycle Bin) that did not work.
  • Some localized paths (depending on the system language) did not work (e.g. C:\Benutzer, C:\Användare, ...) (#98).

FoxWMulder
Posts: 24
Joined: 29 Sep 2023 03:33

Re: Updated QuickSwitch [AutoHotkey]

Post by FoxWMulder »

1.8.6 no bug! :)
Great job!

And I will also make a suggestion: setting the shift of the menu along the X axis relative to the dialog box. Because if the menu is large in width, it closes the list of files.

Another suggestion: the ability to hide the "AutoSwitch" and "Blacklist" items from the menu.

Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

FoxWMulder wrote: 03 Dec 2025 07:20 1.8.6 no bug! :)
Great job!
Awesome! :tup:
FoxWMulder wrote: 03 Dec 2025 07:20 Because if the menu is large in width, it closes the list of files.
You can enable Settings > Short path as a workaround.
FoxWMulder wrote: 03 Dec 2025 07:20 Another suggestion: the ability to hide the "AutoSwitch" and "Blacklist" items from the menu.
Maybe I'll add this setting along with the new Menu options soon... ;)

Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

FoxWMulder wrote: 03 Dec 2025 07:20 setting the shift of the menu along the X axis relative to the dialog box. Because if the menu is large in width, it closes the list of files.
Currently I don't want to add Menu positioning settings as it might break something. However, instead of using the list of folders on the left side you can pin/add your favorite paths. To prevent the list of files overlapping, turn on ShortPath...

Also you can remove this line and change this line to Gui, Show, , Settings and change this line to Menu, % "ContextMenu", % "Show", then menu will appear near your mouse pointer which you can place anywhere at the screen.

FoxWMulder
Posts: 24
Joined: 29 Sep 2023 03:33

Re: Updated QuickSwitch [AutoHotkey]

Post by FoxWMulder »

There are similar automatic triggers of the "Save" button in other cases. I have attached the debug file.

(Yes, the blacklist helps)
Attachments
winbox64.exe___#32770___Browse For Folder.csv
(1.87 KiB) Downloaded 12 times

Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

FoxWMulder wrote: 03 Dec 2025 15:37 There are similar automatic triggers of the "Save" button in other cases. I have attached the debug file.
If it's a non-standard file dialog, this will be fixed later. I temporarily deleted the Settings > Menu > Close old-style file dialog after selecting path option. When it is checked, old file dialogs will not be closed automatically. However, the path will not change either, such is the specificity of their work.

Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

QuickSwitch 1.9
This update is aimed at improving performance and quality of life. Various annoyances and critical bugs have been fixed.

I really need your feedback! If something is not working for you, please let me know. If you think that some features can be improved, write to me.

Changelog
Increased the speed of:
  • determining the type of file dialog;
  • switching the selected path in the Menu and the speed of AutoSwitch;
  • menu display.
autoswitch.gif
autoswitch.gif (858.89 KiB) Viewed 446 times
New AutoSwitch features
  • You can choose which path "AutoSwitch" option should open: pinned, favorite, ... (see details about the special paths here). Open Settings > Menu tab and select the target in the drop-down list.
  • You can select the index of the path that will be opened. Index starts with 1 relative to current menu section (pinned, favorites, ...).
  • Select "MenuStack" target, then index will be relative to all visible paths in the Menu.
Tip
You can enable Always AutoSwitch option and select "PinnedPaths" or "MenuStack" as the target. Then AutoSwitch will always activate the pinned path according to the selected index (1st, 2nd, ...).
Warning!
You need to enable specific target: Settings > Theme > Show sections .... For example, if you have selected the "PinnedPaths" target, select the Pinned Paths check box.
autoswitchtarget.png
autoswitchtarget.png (93.62 KiB) Viewed 446 times
Scaling options
  • Added the option to change the settings UI font and its size. The option also changes the size of all settings items. Now the UI adapt to the selected font and screen DPI: the larger the font (e.g. monospaced) or its size, the larger the UI elements will look.
Tip
Increase the DPI and font size to singificantly increase the size of the UI elements.
SettingsScaling.gif
SettingsScaling.gif (483.9 KiB) Viewed 446 times
  • Added the option to change Menu font and its size. I prefer Nunito for menus and ImWritingQuat for settings and file managers UI.
Caution!
This option changes the font and its size for all menus in the system including:
  • context menu
  • status-bar menu at the top
  • tray menu
  • some tooltips
  • some message boxes and popups

To roll back changes, open the settings, set the Menu font field empty and set the size to 0.
Other features
  • After enabling ShortPath > Show short path... option, 1st letter in the will be underlined. Press this letter on your keyboard to activate this path in the menu (see more about keys here). For example: S̲ystem32\Resources – press S to activate this path.
TIP
The path shortening settings on the ShortPath‬ tab allows you to completely change a path structure. It also allows you to change which key will activate the path.
  • Open "Menu settings" and press Debug button to see all controls of the active window. Press Export to save this data to the readable file.
Fixed annoyances
These issues have been coming and going since v1.5. With each update, I slowly fixed them. Now they are fully eliminated.
  • After enabling "AutoSwitch" option, the file dialog may have closed (#77), the "Save As" dialog button did not work properly and focus was lost from the file name input field.
  • The Menu might not close and stay above all windows after pressing Esc or clicking anywhere (#88, #94).
  • The menu didn't disappear after immediately pressing Alt/Esc when opening a file dialog; Copilot web page could open.
  • The Menu sometimes didn't appear when the file dialog was opened.
Fixed issues with paths
  • Some paths from Total Commander containing Cyrillic and other characters did not work (#138).
  • Some localized paths (depending on the system language) from Explorer did not work (e.g. C:\Benutzer, C:\Användare, ...) (#98).
  • The Menu displayed system and special directories (e.g. Recycle Bin) that did not work.
  • The active Explorer tab was not the first in the Menu on Windows 11.
  • The Menu displayed incorrect paths from Xyplorer after disabling the (show) locked tabs option on Settings > Theme tab.
  • The active Total Commander tab was displayed incorrectly after disabling the option Theme > File manager paths > (Show) locked tabs.
note
If the currently active tab is locked and this option is disabled, the next unlocked tab starting from the active pane (from left to right) will be shown first in the menu.

If all tabs are locked, nothing will appear in the Menu.
Fixed issues with menu
  • The menu appeared twice. After turning on AutoSwitch/always AutoSwitch.
  • The Menu no longer appears in non-file dialogs. (false-positives).
  • The issue with path unpin (see pinned paths).
Fixed visual issues
  • Wrong OS name in the Errors.log on Win11 (#98).
  • Fixed the display of drop-down lists for selecting mouse buttons and special keys on the Settings > App tab after changing the screen DPI (#135).
  • The Debug button no longer overlaps the settings tabs after changing the font to monospaced or when changing the screen DPI (#135).

Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

FoxWMulder wrote: 03 Dec 2025 15:37 There are similar automatic triggers of the "Save" button in other cases.
Should be fixed in the 1.9

FoxWMulder
Posts: 24
Joined: 29 Sep 2023 03:33

Re: Updated QuickSwitch [AutoHotkey]

Post by FoxWMulder »

can you make a setting to make the file name selected? (ctrl+a), this makes it easier to set a file name without having to select it.

and one more thing:). it would be nice to have a call Swttings by clicking on the tray icon. since when you encounter that the "save" button is triggered automatically, you have to: 1) close quickswith 2) disable AutoSwitch in INI 3) launch quickswith 4) add the program to the blacklist 5) close quickswith 6) enable AutoSwitch in INI.

I won't miss the opportunity to thank you. I've wanted this kind of program for a long time. It makes life much easier.

Raf
Posts: 142
Joined: 31 Jul 2024 15:34

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

FoxWMulder wrote: 16 Dec 2025 02:30 can you make a setting to make the file name selected? (ctrl+a), this makes it easier to set a file name without having to select it.
Thanks for the idea, I've added it to the features list.
FoxWMulder wrote: 16 Dec 2025 02:30 when you encounter that the "save" button is triggered automatically, you have to: 1) close quickswith 2) disable AutoSwitch in INI 3) launch quickswith 4) add the program to the blacklist 5) close quickswith 6) enable AutoSwitch in INI.
I don't understand why you need to edit ini config manually. If you want to open Settings outside of the file dialog, just press Ctrl+Shift+Win+0...
FoxWMulder wrote: 16 Dec 2025 02:30 I won't miss the opportunity to thank you. I've wanted this kind of program for a long time. It makes life much easier.
:party:

FoxWMulder
Posts: 24
Joined: 29 Sep 2023 03:33

Re: Updated QuickSwitch [AutoHotkey]

Post by FoxWMulder »

Raf wrote: 16 Dec 2025 06:58 I don't understand why you need to edit ini config manually. If you want to open Settings outside of the file dialog, just press Ctrl+Shift+Win+0...
I did not know it. tnx.

Post Reply