Keyboard Shortcut to Move Between Tabs -- How To?

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Dannya
Member
Member
Posts: 25
Joined: 2009 May 12, 14:19

Keyboard Shortcut to Move Between Tabs -- How To?

Post by Dannya »

Using xplorer2 version 2.5.04 for about 4 years under Windows XP.

This is a tab keyboard shortcut question. Currently, I use Control+Insert to create a new tab. I use Ctrl+Shift+C 33043, which closes the active folder tab.

Frequently I have many tabs open. What I want to know is what's the best way to move between tabs using a keyboard shortcut (like in Firefox's tabs, Control+Page Up or Page Down moves you to the previous or next tab) . Is the solution to use "Customize, Keyboard Use"?

Thanks for your help!
Kilmatead
Platinum Member
Platinum Member
Posts: 4879
Joined: 2008 Sep 30, 06:52
Location: Baile Átha Cliath

Re: Keyboard Shortcut to Move Between Tabs -- How To?

Post by Kilmatead »

Use <Ctrl + Alt + Left/Right> to cycle through tabs in the active pane.

If, for some reason, you would prefer to assign other shortcuts (such as those to mimic Firefox, etc), the keyboard assignments may be found at Customise -> Keyboard -> (Category) Miscellaneous -> 33038 ("next tab") and 33039 ("previous tab")
Dannya
Member
Member
Posts: 25
Joined: 2009 May 12, 14:19

Re: Keyboard Shortcut to Move Between Tabs -- How To?

Post by Dannya »

Great! Thank you, Kilmatead! The <Ctrl + Alt + Left/Right> works perfectly.
huybn
New Member
Posts: 2
Joined: 2016 Oct 09, 09:45
Location: Taiwan

Re: Keyboard Shortcut to Move Between Tabs -- How To?

Post by huybn »

Kilmatead wrote:Use <Ctrl + Alt + Left/Right> to cycle through tabs in the active pane.

If, for some reason, you would prefer to assign other shortcuts (such as those to mimic Firefox, etc), the keyboard assignments may be found at Customise -> Keyboard -> (Category) Miscellaneous -> 33038 ("next tab") and 33039 ("previous tab")
May I ask if I want to move to specific tab without mouse clicking? Like use Alt+1 to activate tab 1.
Should I use AutoHotkey or something to do this?
Kilmatead
Platinum Member
Platinum Member
Posts: 4879
Joined: 2008 Sep 30, 06:52
Location: Baile Átha Cliath

Re: Keyboard Shortcut to Move Between Tabs -- How To?

Post by Kilmatead »

The newer versions of x2 have a Window -> Activate Tab option which (once the sub-menu is open) allow for the first 10 items to be activated by pressing the number... but that's a tad awkward for direct keyboard use as there's no way to assign a hotkey to open the (sub)menu in the first place, though you can assign a shortcut to the first item, which, I suppose could then be accessed via a script to enumerate the other tabs according to position relative to 0.

Or, you could try to write a script which would interact directly with the tab-bar above the listview using either language functions or the WinAPI, but no matter what route that type of solution would be messy...

So, no... there's no simple (meaning reliable) method for targeting a single enumerated tab other than the menu option mentioned above (at least none that I know of). :shrug:
huybn
New Member
Posts: 2
Joined: 2016 Oct 09, 09:45
Location: Taiwan

Re: Keyboard Shortcut to Move Between Tabs -- How To?

Post by huybn »

Kilmatead wrote:The newer versions of x2 have a Window -> Activate Tab option which (once the sub-menu is open) allow for the first 10 items to be activated by pressing the number... but that's a tad awkward for direct keyboard use as there's no way to assign a hotkey to open the (sub)menu in the first place, though you can assign a shortcut to the first item, which, I suppose could then be accessed via a script to enumerate the other tabs according to position relative to 0.

Or, you could try to write a script which would interact directly with the tab-bar above the listview using either language functions or the WinAPI, but no matter what route that type of solution would be messy...

So, no... there's no simple (meaning reliable) method for targeting a single enumerated tab other than the menu option mentioned above (at least none that I know of). :shrug:
Ah thanks for direction! I found it is contain in the Customize -> Customize keyboard -> (Category)Window -> Activate tab > (0~x)
See my attached image below.
Base on this setting, I can assign hotkey on my AutoHotkey script, like Alt+1 to send Ctrl+Alt+Shift+Q (x2 does not accept Alt+1 for hotkey).

But weird that it will not display this keyboard action before LOOK at 'Windows -> Activate tab' once, every look will refresh tabs name on customize keyboard dialog, so that why you not found this action I think.


Anyway, thank for your tips, otherwise I might never find there is an action under Windows. :)
Kilmatead
Platinum Member
Platinum Member
Posts: 4879
Joined: 2008 Sep 30, 06:52
Location: Baile Átha Cliath

Re: Keyboard Shortcut to Move Between Tabs -- How To?

Post by Kilmatead »

Yeah, I'm almost certain there's a bug in the keyboard-assignments relating directly to individual tabs... I had one I set for testing originally (and forgot about), but when I was looking today I found it still properly assigned, except it didn't do anything until I actively re-assigned it to the same key... weird. :shrug: