How to change the ALT+TAB hotkey to something else?

0

For example I would like ALT+TAB to work for Numpad Page Down. I have tried with AutoHotkey, but still no luck.

I was also trying with this code:

; set Left Windows Key for switching to previous window/app
$LWin::Send !{Tab}

The script above is working well. It changes the window when you press the Left Win hotkey

I was trying to change it to:

$NumpadPgDn::Send !{Tab}

but it doesn't work. Can somebody help me?

Lucas M

Posted 2019-04-25T20:17:10.053

Reputation: 3

Answers

0

I understand you would like Numpad Page Down to do ALT+TAB.

It's easy enough to do this using AutoHotkey.

For your given example, you could use:

NumpadPgDn:: Send ^!{Tab}
LAlt & Tab:: MsgBox You pressed Alt-Tab

I tested it, although on Windows 10, and it worked quite well.

harrymc

Posted 2019-04-25T20:17:10.053

Reputation: 306 093

Hey, i have tested it.. sitll no luck, i run your script and after all when i press Numpad Page Down it shrolls down (for example) this page where i'm writing at the moment – Lucas M – 2019-04-26T09:15:26.550

Might be a differebce between Windows 7 and 10. Try the more explicit : Send, {Alt Down}{Tab}{Alt Up}. – harrymc – 2019-04-26T09:24:59.920

That code isn't working, same as before it shrolls down the page after i press PgDn NumpadPgDn:: Send, {Alt Down}{Tab}{Alt Up} LAlt & Tab:: MsgBox You pressed Alt-Tab – Lucas M – 2019-04-26T09:37:36.783

Edit: GOT IT PgDn:: Send !{Tab} This code working properly on Windows 7 :) – Lucas M – 2019-04-26T09:50:58.950

Thanks mate, script above working properly – Lucas M – 2019-04-26T10:31:51.897