Possible jump to a specific tab through shortcuts (as Ctrl+1 through Ctrl+9 in Firefox/Chrome)?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
cadu
Posts: 287
Joined: 18 Mar 2012 21:50

Possible jump to a specific tab through shortcuts (as Ctrl+1 through Ctrl+9 in Firefox/Chrome)?

Post by cadu »

Hi,

Does anyone know if it is possible to jump to a specific tab through shortcuts (as Ctrl+1 through Ctrl+9 in Firefox/Chrome)?

Thank you!

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Possible jump to a specific tab through shortcuts (as Ctrl+1 through Ctrl+9 in Firefox/Chrome)?

Post by highend »

Write a script that popups a menu and let you choose one of its entries via just 1-9, a-z.
Takes one keyboard shortcut to invoke the menu and just one additional key press.

Or an ahk script that defines these shortcuts and sends the necessary command to XYplorer but
requires you to unbind all CTRL + 1-9 shortcuts inside XY...
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: Possible jump to a specific tab through shortcuts (as Ctrl+1 through Ctrl+9 in Firefox/Chrome)?

Post by klownboy »

Command ID #538 will bring up the tab list. So if you want to jump to tab number 7, something like this will do it, sendkeys "7~"; #538; The list contains accelerator keys 0-9 but after 10 they repeat. So you would have to do sendkeys "{Down 13}{Enter}";#538;
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

cadu
Posts: 287
Joined: 18 Mar 2012 21:50

Re: Possible jump to a specific tab through shortcuts (as Ctrl+1 through Ctrl+9 in Firefox/Chrome)?

Post by cadu »

Thanks a lot all of you for the responses!

Post Reply