7

I recently swapped the ctrl and alt functions on my computer to make it feel more like a mac, but one thing is still bugging me. When I press alt-tab now I cycle through different tabs of the application I'm using, but I want it to cycle through windows, which is what ctrl-tab now does. Does anyone know of a script I can run to take care of that? Thanks!

EDIT: I still want both the functions, I just want their keys to be swapped (instead of alt-tab swapping windows, I want ctrl-tab to. Instead of ctrl-tab swapping tabs, I want alt-tab to. This is the only function I want swapped)

Zephyzu
  • 81

4 Answers4

6

try this

Ctrl & Tab::AltTab

Yuri
  • 61
  • 1
  • 2
0

Make ahk swap 'em keys globally:

LAlt::LCtrl 
LCtrl::LAlt
SΛLVΘ
  • 1,465
0

Like the others have said there seem to be a number of ways to possibly do this:

dtbnguyen
  • 493
0

I borrowed this from somewhere: this will fix not only alt tab, but also alt shift tab.

; Remap Ctrl-Tab to Alt-Tab
^Tab::
Send {Alt down}{Tab}
Keywait Control
Send {Alt up}
return

; Remap Ctrl-Shift-Tab to Alt-Shift-Tab
^+Tab::
Send {Alt down}{Shift down}{Tab}
Keywait Control
Send {Alt up}
Send {Shift up}
return