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)

  • ALT+TAB always cycles through all active programs. You are not going to be able to disable that functionality. – Ramhound Jun 6 '17 at 17:04
  • Disclaimer: I haven't tried this: howtogeek.com/194811/… – wysiwyg Jun 6 '17 at 17:19
  • @Ramhound Not trying to disable it, I'm trying to remap it. – Zephyzu Jun 6 '17 at 17:32
  • @wysiwyg You wouldn't happen to know how to swap the keys, would you? That only says how to disable them. – Zephyzu Jun 6 '17 at 17:42

try this

Ctrl & Tab::AltTab

  • 2
    Why would I want to try this, ie what will happen (or not happen)? – Pierre.Vriens Nov 18 '17 at 14:35
  • Amazing, I have been trying countless AutoHotKey recipes, this is the only one that works. And it is so simple! I would give +10 if I could. Thank you. – gsl Mar 5 '19 at 14:10
  • works perfectly in win 10! Thank you!! All other solutions either too complex or not working – Jerry T Dec 2 '19 at 2:32

Make ahk swap 'em keys globally:

  • 2
    I already did. What I'm trying to do now is swap only the function I mentioned back to it's original position so it better emulates a mac style of keyboard – Zephyzu Jun 6 '17 at 19:42

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

  • I already got the keys swapped with autohotkey, what I'm trying to do now is swap one function back to it's original keymapping without messing with anything else – Zephyzu Jun 6 '17 at 19:48
  • See addition in updated post – dtbnguyen Jun 6 '17 at 20:02
  • Sorry about the weird wording, I'm by no means good with computers. Autohotkey uses its own script which you can use to change pretty much any keybinding on your computer if you know it. For instance, I used this script: LCtrl::Alt LAlt::Ctrl to swap everything that control does with alt, so now the alt key acts like control and is in the same place as the command key on a mac, which I'm used to. the only issue I'm facing now is that now alt-tab cycles between tabs of a program and ctrl-tab cycles between open programs. I want alt-tab to cycle open programs and ctrl-tab to cycle tabs. – Zephyzu Jun 7 '17 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.