Page 2 of 7

Re: Updated QuickSwitch [AutoHotkey]

Posted: 03 Apr 2025 17:02
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

Re: Updated QuickSwitch [AutoHotkey]

Posted: 03 Apr 2025 17:05
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 16689 times
menu.gif
menu.gif (2 MiB) Viewed 16689 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 16881 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 16689 times

Re: Updated QuickSwitch [AutoHotkey]

Posted: 04 Apr 2025 16:33
by Horst
As reported, it works fine in XY
but not at all in TC.

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 10:45
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?

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 12:19
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.

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 13:37
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.

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 13:45
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.

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 13:47
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...

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 13:59
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.

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 14:08
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

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 15:01
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?

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 15:09
by Raf
You suggest something like this?

Re: Updated QuickSwitch [AutoHotkey]

Posted: 05 Apr 2025 19:25
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.

Re: Updated QuickSwitch [AutoHotkey]

Posted: 08 Apr 2025 11:22
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?

Re: Updated QuickSwitch [AutoHotkey]

Posted: 08 Apr 2025 14:03
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.