2
votes

http://www.autohotkey.com/docs/Hotkeys.htm - This page describes how to map some key combination to Alt+Tab and Shift+Alt+Tab, and the examples

LAlt & j::AltTab
LAlt & k::ShiftAltTab

when I write this code it doesn't work and it even disable the regular Alt+Tab.

Any ideas? Thanks!

1
Works perfectly on my machine. What Windows/AHK version are you running? I believe AltTab is dysfunctional on Windows 8.MCL
Just to confirm, the posted code worked without issue on my Win 7 system, but failed to function on Win 8. AHK 1.1.13.01 on each.Barrow
And update to the latest version here ahkscript.org/downloadJoe DF
Always use AutoHotkey from ahkscript.org (current version, new official website)! AutoHotkey from autohotkey.com is outdated!vasili111

1 Answers

1
votes

This conflict was likely due to an outdated version of AHK conflicting with the OS version being used.

The code has been tested in the newest version of AutoHotkey on Windows 7 and 10, and it works fine.