Page 1 of 1

Switch tabs with holding Ctrl

Posted: 20 Feb 2018, 05:48
by xYann00
I want to remap Ctrl+Tab to Caps+e and Ctrl+Shift+Tab to Caps+q.
For simple tab switch this would be easy. The issue is with the tab switch that opens window with tab list if you hold down the Ctrl and moves within it if you keep pressing Tab, until you release both keys (examples are tab switching in Notepad++ or IntelliJ Idea).
And I am not able to implement Capslock hold and at the same time register e or q. I have tried this but it doesn't register e as another Tab while Capslock is pressed:

Code: Select all

Capslock & e::
SendInput {Ctrl Down}{Tab Down}
KeyWait, CapsLock
SendInput {Ctrl Up}{Tab Up}
Return
Do you have some idea?

Re: Switch tabs with holding Ctrl

Posted: 22 Feb 2018, 09:04
by RunarSF
Are you thinking of something like this?

Code: Select all

#SingleInstance, Force ; Skip replace dialog.
CapsLock & e::^Tab
CapsLock & q::^+Tab