Note, I am using Managed Command functionality as #1420, #1421 which effectively set the view Tab to a set of folders I've defined as "Default" vs "AHK" related. These are Version 2 hotkey settings.
I defined the Autohotkey hotkey specifically to access the folders pertinent to design of Autohotkey scripts in both v1 and v2.
I also have a hotkey menu which provides quick access to Autohotkey tools.
In XYplorer, I defined #1420 as tabset("load", "Default Downloads")
In XYplorer, I defined #1421 as tabset("load", "TabsetAHK");
I also need to learn how to 'conditionally' use the hotkeys when only XYplorer is open and I found the documentation too confusing to figure out #hotkeyif and hotkeyif and the samples incomplete explaining how that all works.
Code: Select all
#Requires AutoHotkey v2.0
^!Numpad7::
{ ; xyPlorer Tabset: Default, also opens if it is not active. Command #1420 defined as tabset("load", "Default Downloads");
run "C:\Program Files (x86)\XYplorer\XYplorer.exe /script=::#1420;"
}
^!Numpad8::
{ ; xyPlorer Tabset: ahk, also opens if it is not active. Command #1421 defined as tabset("load", "TabsetAHK");
run "C:\Program Files (x86)\XYplorer\XYplorer.exe /script=::#1421;"
}
If you are interested I can post the code for that as well. It's v2. But be aware you would have to replace the links to my computer organization for them to work. It's working well for me. I'm pleased with v2 and it's improved 'elegance'.