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: 238
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 » 06 Apr 2019 14:59

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: 8304
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 » 06 Apr 2019 15:19

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 or highend (at) web (dot) de

klownboy
Posts: 2792
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 » 06 Apr 2019 16:12

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;

cadu
Posts: 238
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 » 06 Apr 2019 16:15

Thanks a lot all of you for the responses!

Post Reply