Updated QuickSwitch [AutoHotkey]

Discuss and share scripts and script files...
Post Reply
Horst
Posts: 1410
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Updated QuickSwitch [AutoHotkey]

Post by Horst »

Raf wrote: ↑05 Feb 2025 20:59
Horst wrote: ↑05 Feb 2025 15:00 It assumes that Autohotkey is installed under program files
My path is c:\Tools\Autohotkey
This is written in the Readme: https://github.com/JoyHak/QuickSwitch?t ... #compiling

It is better to use the AHK script to run it, as it automatically detects the AHK directory bc it is defined in the system registry.
After this, it displays its selection screen in unreadable colors for my dark mode settings.
Send a screenshot please. I plan to change the default colors to the system colors.
Also, it's a bad idea to make the file name version specific as this invalidates any start-up link.
I didn't understand the problem.
No such problems with the official latest Quick Switch version.
I forgot to add a variable. Added to To-do for correction. There will be a release tomorrow with additional improvements including dialog boxes.
My Autohotkey path is known by the system, using the official installer.
That doesn't help with your script when I use Compile script or Compile script (GUI)
on the context menu of the AHK source.
I always compile any AHK scripts for myself.

Your description says that file names must include the version
for which I don't see any technical reason.

I will check with your new version and also send a screenshot after testing it.
Windows 11 Home, Version 26H2 (OS Build 26300.9550)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.37 beta

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

Horst wrote: ↑05 Feb 2025 15:00 It assumes that Autohotkey is installed under program files
My path is c:\Tools\Autohotkey
This is written in the Readme: https://github.com/JoyHak/QuickSwitch?t ... #compiling

It is better to use the AHK script to run it, as it automatically detects the AHK directory bc it is defined in the system registry.
After this, it displays its selection screen in unreadable colors for my dark mode settings.
Send a screenshot please. I plan to change the default colors to the system colors.
Also, it's a bad idea to make the file name version specific as this invalidates any start-up link.
I didn't understand the problem.
No such problems with the official latest Quick Switch version.
I forgot to add a variable. Added to To-do for correction. There will be a release tomorrow with additional improvements including dialog boxes.

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Horst »

This script isn't ready for use.
1. It assumes that Autohotkey is installed under program files
My path is c:\Tools\Autohotkey
I changed the source and compiled it for AHK version 1
using the actual installed Autohotkey versions.
It compiled successfully but produces error message using it.
After this, it displays its selection screen in unreadable colors for my dark mode settings.
Also, it's a bad idea to make the file name version specific as this invalidates any start-up link.

No such problems with the official latest Quick Switch version.
Screenshot - 05.02.2025 , 14_46_55.png
Screenshot - 05.02.2025 , 14_47_08.png
To see the attached files, you need to log into the forum.
Windows 11 Home, Version 26H2 (OS Build 26300.9550)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.37 beta

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

Re: Updated QuickSwitch [AutoHotkey]

Post by Raf »

The script has been successfully finalised and compiled!
To see the attached files, you need to log into the forum.

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

Updated QuickSwitch [AutoHotkey]

Post by Raf »

Have you ever wanted to integrate XYplorer into your system? Quickly Switch to the tabs open in XYplorer when you select files? Use the full potential of Rapid Access Folders and reduce the amount of information displayed?

I really wanted to add all this. I present to you a modification of the famous QuickSwitch with extended support for XYplorer:


https://github.com/JoyHak/QuickSwitch/releases


About
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).
menu.gif
(3).png
It has two modes:

1. Menu mode: displays a list of opened folders. Selecting one switches the file dialog to that folder. The menu won't appear if no folders are open.

2. AutoSwitch mode: the file dialog automatically 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 can be disabled using the Never option. There's also Never here option to disable QuickSwitch for specific dialogs, like web browsers, which manage their own folders.

The latest versions include the following features:
  • Added application auto-startup at Windows log-on.
  • The menu will display the paths from all open folders starting from the current one.
  • The path can be displayed in a shortened form.
  • Improved settings interface and additional customization options and features.
  • Added minimalistic display of errors about incorrectly entered settings.
Installation

1. Download the latest version.
Subscribe to releases so you don't miss critical updates!
2. Run .exe for your CPU architecture and check it's existence in the tray.

3. Open different folders in a supported file manager.
E.g., open C:\ in Explorer.
4. Open any application and try to open\save a file using it.
E.g., open Notepad then File - Open.... Or try downloading any file.
5. Press Ctrl+Q and look at the paths in the menu that opens. All folders opened in supported file managers will be displayed here.

6. Explore the available options in the menu, open the settings and experiment with them. Choose a convenient style and logic of the menu!
​
(4).png


To-Do
  • auto-check for update (lib and setting)
  • AutoSwitch on clipboard change
  • drag and drop any file field
  • Xyplorer history
  • Pin favourite paths
  • Explorer:
    • QTTabBar tabs
    • Win11 support
    • MRU
Need help with:
  • Autohotkey v2 port
  • File managers:
    • get paths from all tabs
    • add new file managers
    XYplorer receives a command using DllCall and sends the XYdata directly to RAM, from where Autohotkey reads it
To see the attached files, you need to log into the forum.
Last edited by Raf on 29 Mar 2025 13:28, edited 5 times in total.

Post Reply