Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Disabling Alt-Tab and Other Keys


11 Nov 2012   #11

windows 7 home premium 64bit
 
 

I've tried the AutoHotKey suggestion using the !Tab::return command to no avail. Is there something new now that I'm missing?


My System SpecsSystem Spec
.

23 Feb 2013   #12

Windows 7 Ultimate x64
 
 

Just as a heads up, I'd recommend using this code instead if the reason you want to disable alt+tab is for gaming. I needed to disable alt+tab so that I could use push-to-talk (alt) and look at my score (tab) without switching out of the game. Simply disabling alt+tab will prevent me from checking my score while I'm talking. However, this autohotkey code will send tab-down when you press alt-tab (without releasing alt) and tab-up when you let go of tab - which solves my problem.
Code:
LAlt & Tab::Send {Tab Down}
LAlt & Tab Up::Send {Tab Up}
P.S.: Sorry for resurrecting an old thread. I posted this here so others that searched "disable alt tab" in Google could find this, as it was one of the top results.

EDIT: I just noticed it's not all that old... Also, here's a link to the AutoHotKey page instead of a direct link to the download (download button on right side of page last I checked): http://www.autohotkey.com/
My System SpecsSystem Spec
22 Aug 2013   #13

windows 7
 
 

Hi guys, in reply the very last post of this thread, I tried to use alt+tab as a keybind in game but it wouldn't work even after I added that code, I just want alt+tab not to minimize and want to be able to use the bind in a game. If anybody knows how to get this to work please let me know, thanks.
My System SpecsSystem Spec
.


10 Nov 2013   #14
eyo

Windows 7 64bit
 
 

SystemDisc: thanks for that. It works fine, although in my case (CS:GO) it sometimes makes the character sort of half-duck in a quick way. Not sure why that would happen, because I don't have anything movement related binded to Alt or Tab. Anyway it's not really a significant problem.
EDIT: Apparently this combination triggers Ctrl for some reason... weird.

jamesthemang: Here's how I use it, so that it only works in CS:GO:
Code:
#ifWinActive Counter-Strike: Global Offensive
LAlt & Tab::Send {Tab Down}
LAlt & Tab Up::Send {Tab Up}
You can find the exact name of the application you'd like this to work in for example with the Task Manager, in the Applications tab, while the application is running.
(I believe you can also use some other ways to identify an application with AHK, for example when the window title changes, but I haven't had the need to explore those options.)
My System SpecsSystem Spec
16 May 2014   #15

Texas
 
 

ive downloaded the zip and the installer, the steps aren't accurate enough and got me confused.
what do i open up after opening the zip file. and where do i put in the codes? where do i save it at and as? lol so many questions please help
My System SpecsSystem Spec
16 May 2014   #16
eyo

Windows 7 64bit
 
 

1. Get AHK (either install it or extract autohotkey.exe from the zip)
2. Open a text editor (Notepad), paste the code, save the file with the extension .ahk
3. Open the .ahk file with autohotkey.exe

That's it.

BTW, this is the code I currently use:
Code:
SetTitleMatchMode 3

#ifWinActive Counter-Strike: Global Offensive
<!Tab::return
You can replace "Counter-Strike: Global Offensive" with whatever game/program you use (it's the window name, the one that you see in the task bar).
My System SpecsSystem Spec
16 May 2014   #17

Texas
 
 

your the best! thanks alot!
My System SpecsSystem Spec
17 May 2014   #18
eyo

Windows 7 64bit
 
 

I just remembered that I had alt-tab set to trigger the L key with that code (<!Tab::l). If you put return instead, it won't trigger anything. Edited the post to avoid confusion.
My System SpecsSystem Spec
Reply

 Disabling Alt-Tab and Other Keys




Thread Tools



Similar help and support threads for2: Disabling Alt-Tab and Other Keys
Thread Forum
Keys that have FN functions on them not working as normal keys General Discussion
Disabling ToolTips? General Discussion
Solved Disabling Touchpad Hardware & Devices
How Can I Disable The Multimedia Keys Covering The F1-F12 keys? Hardware & Devices
Help ! DWM keeps Disabling itself Customization
please help with disabling Hibernate (thanks) General Discussion
Disabling UAC... wow System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:34 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33