Updated QuickSwitch [AutoHotkey]

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

xy123 wrote: 02 Apr 2025 20:08 Any plans for supporting the worst of them all and that is "Browse for Folder" dialog?
If not supporting them maybe you can integrate this code to replace them:
https://github.com/skygate2012/ReplaceBrowseForFolder

I'll take a look, thank you

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

I have released a new version v1.4 with various fixes: https://github.com/JoyHak/QuickSwitch/releases
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.

QuickSwitch allows you to switch file dialogs (like Save As or Open) to any folder opened in supported file managers (File Explorer, Directory Opus, Total Commander, XYPlorer).
full.png
full.png (698.32 KiB) Viewed 15108 times
menu.gif
menu.gif (2 MiB) Viewed 15108 times
AutoSwitch mode opens the last active folder in the file manager when you Alt-Tab between them. If the file manager was active before opening the dialog, it opens that folder immediately. You can still use Ctr+Q to access the menu if needed.
autoswitch.gif
autoswitch.gif (1.44 MiB) Viewed 15300 times
Changelog
Features
  • Display all tabs from:
    • TotalCommander
    • DirectoryOpus
    • XYplorer panels
  • Short path option:
    • The option has become faster.
    • You can hide the first path separator, for example: ..\dir
  • XYplorer dual-pane support
  • Multi-language hotkeys: now the keys set in the settings work in any keyboard layout.
  • Performance: the code has been significantly revised for the better.
Refactoring highlights
  • Improved date and localization display in logs.
  • Added lost global variables in new validators.
  • Keys uses scan codes when they are created.
  • Added safe function to prevent key creation errors.
  • ShowShortPath has been renamed to GetShortPath and now uses faster built-in functions.
  • Improved names and used proper naming style for local, static and global variables.
  • Improved performance:
    • Added AHK v1 specific directives and functions.
    • Added identical variables one-line assigning.
    • Sleep replaced by ClipWait.
    • Xyplorer now works via clipboard because it's faster.
    • Removed Return from Void functions.
    • Added multiple static variables in all Libs.
Fixed
  • Directory Opus wasn't working.
  • The portable version of Total Commander was not detected.
  • Nonexistent hotkey error.
  • Menu did not disappear when clicking anywhere in the file dialog.
  • Menu appeared in different applications and did not disappear when changing settings.
  • Missing Debug button.
  • Constant notification about missing icon in compiled version.
  • The Virtual Path XYplorer specific option has caused display problems: other file managers do not have a similar option that displays simplified real paths. The option has been removed.
xyplorer.png
xyplorer.png (176.22 KiB) Viewed 15108 times
Last edited by Raf on 06 Apr 2025 08:35, edited 2 times in total.

Horst
Posts: 1329
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Updated QuickSwitch [AutoHotkey]

Post by Horst »

As reported, it works fine in XY
but not at all in TC.
Windows 11 Home, Version 25H2 (OS Build 26200.7019)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1400a (x64), Everything Toolbar 2.1.0, Listary Pro 6.3.6.99

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

xy123 wrote: 02 Apr 2025 20:08 Any plans for supporting the worst of them all and that is "Browse for Folder" dialog?
Can you name the applications in which this dialog appears?

xy123
Posts: 208
Joined: 17 Sep 2017 11:46
Location: Win10 64-bit, @100%

Re: Updated QuickSwitch [AutoHotkey]

Post by xy123 »

Raf wrote: 05 Apr 2025 10:45 Can you name the applications in which this dialog appears?
1. XYplorer :biggrin:, select a file, go to Edit >> Copy To >> Browse button.

2. This app uses even older one, which cannot be resized.
https://www.softpedia.com/get/System/Fi ... Sync.shtml

I think those two cover all (99%) of them types of "Browse for Folder" dialogs.

Norn
Posts: 483
Joined: 24 Oct 2021 16:10

Re: Updated QuickSwitch [AutoHotkey]

Post by Norn »

Using the address bar to navigate causes flickering and leaves a trail, I use the Edit1 control to navigate, there is some code on the AutoHotkey forum for virtual folders.
Windows 11 24H2 @100% 2560x1440

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

Norn wrote: 05 Apr 2025 13:37 Using the address bar to navigate causes flickering and leaves a trail, I use the Edit1 control to navigate
Have you tried disable AutoSwitch?
Norn wrote: 05 Apr 2025 13:37 There is some code on the AutoHotkey forum for virtual folders.
Its not hard to implement. But I deleted it, bc it not very useful. This app should be more versatile. Use "Short Path" option instead, its more customizable than RAF names.
Last edited by Raf on 05 Apr 2025 13:48, edited 3 times in total.

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

xy123 wrote: 05 Apr 2025 12:19
1. XYplorer :biggrin:, select a file, go to Edit >> Copy To >> Browse button.

2. This app uses even older one, which cannot be resized.
https://www.softpedia.com/get/System/Fi ... Sync.shtml
Thank you, I'll try to add this file dialogs support. Do archive managers have their own file dialogs? I received a suggestion to add support for BandiZip dialog...

Norn
Posts: 483
Joined: 24 Oct 2021 16:10

Re: Updated QuickSwitch [AutoHotkey]

Post by Norn »

Raf wrote: 05 Apr 2025 13:45
Norn wrote: 05 Apr 2025 13:37 Using the address bar to navigate causes flickering and leaves a trail, I use the Edit1 control to navigate
Have you tried disable AutoSwitch?
Norn wrote: 05 Apr 2025 13:37 There is some code on the AutoHotkey forum for virtual folders.
Its not hard to implement. But I deleted it, bc it not very useful. This app should be more versatile. Use "Short Path" option instead, its more customizable than RAF names.
I don't use AutoSwitch, I looked at your gif.
Using the Edit1 control should be more universal, because some dialogs don't have an address bar.
Maybe most people can accept using the address bar, so it shouldn't matter.
Windows 11 24H2 @100% 2560x1440

xy123
Posts: 208
Joined: 17 Sep 2017 11:46
Location: Win10 64-bit, @100%

Re: Updated QuickSwitch [AutoHotkey]

Post by xy123 »

Raf wrote: 05 Apr 2025 13:47 Thank you, I'll try to add this file dialogs support. Do archive managers have their own file dialogs? I received a suggestion to add support for BandiZip dialog...
No, most don't use custom file dialogs including BandiZip which works just fine with QuickSwitch.
https://www.softpedia.com/get/PORTABLE- ... able.shtml

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

Norn wrote: 05 Apr 2025 13:59 Using the Edit1 control should be more universal, because some dialogs don't have an address bar.
Maybe most people can accept using the address bar, so it shouldn't matter.
I want to clarify: do you have a problem with the Edit field or is this a suggestion for improvement?

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

You suggest something like this?
Attachments
Video_2025_04_05-3_edit_0.gif
Video_2025_04_05-3_edit_0.gif (695.63 KiB) Viewed 15150 times

Norn
Posts: 483
Joined: 24 Oct 2021 16:10

Re: Updated QuickSwitch [AutoHotkey]

Post by Norn »

is this a suggestion for improvement?
Yes.
You can hide the Edit1 control with ControlHide before navigation and show the Edit1 control after navigation, just like Listary does.
Windows 11 24H2 @100% 2560x1440

MBaas
Posts: 654
Joined: 15 Feb 2016 21:08

Re: Updated QuickSwitch [AutoHotkey]

Post by MBaas »

just a question: I noticed that when I can't Paste into the Open/Save dialogs when QS is running in the background.
Has anyone else noticed that, too - or is it something with my environment. Or did I miss any options?
_________________________________________________
Happy user with Screen scaling 100% and W11Pro 24H2 ;-)

Horst
Posts: 1329
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Updated QuickSwitch [AutoHotkey]

Post by Horst »

MBaas wrote: 08 Apr 2025 11:22 just a question: I noticed that when I can't Paste into the Open/Save dialogs when QS is running in the background.
Has anyone else noticed that, too - or is it something with my environment. Or did I miss any options?
No such effect here.
I can still paste anything into the dialogs.
You should not set the option to always show the menu.
Windows 11 Home, Version 25H2 (OS Build 26200.7019)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1400a (x64), Everything Toolbar 2.1.0, Listary Pro 6.3.6.99

Post Reply