TransWikia.com

Can I toggle Alt + Tab's functionality?

Arqade Asked by David Costache on July 31, 2021

I’ve been wondering if there is such thing as an Alt + Tab toggle for when one is playing a game.

So here’s the concept I’m after:

A toggle like F9 to disable and enable Alt + Tab so one doesn’t accidently Alt + Tab out of the game/program (Valorant in my case).

One Answer

You can use AutoHotKey. The script in question would be:

!Tab::
return

to disable the key, or to rebind it something like (rebinding to F8):

!Tab::F8

Use F9 to toggle on Alt + Tab:

IsEnabled := 1
F9::
if (IsEnabled = 1) {
    IsEnabled := 0
} else if(IsEnabled = 0) {
 IsEnabled := 1
}
return
#If IsEnabled
!Tab::
return

Answered by Penguin on July 31, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP