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
Korby

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
SystemDisc

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
jamesthemang

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
cpuDUMMY

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
cpuDUMMY

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 Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Keys that have FN functions on them not working as normal keys
I have a Commodore Laptop (Argentina) and all the keys that have a FN function attached to them do not work as their normal function any more - this happened after lending the laptop to my kids.... I think it may be FN lock, but can-t find any way to unlock it. Any ideas please. Many...
General Discussion
Disabling 3d acceleration
Hello Everybody I'm new in the forums :) Im having a big problem right here: I use AMD ATI Mobility HD5400 series, I use a certain kind of flight simulators, I know people who has WORSE Video card and processor than me who get more FPS with same options. Some people told me that the solution is...
Graphic Cards
How Can I Disable The Multimedia Keys Covering The F1-F12 keys?
On my dell inspiron 15r the F1-F12 keys are covered by multimedia keys like volume, screen brightness, battery, internet, and other. I need to disable these because in some video games I play, I need to use these keys because they are set hotkeys that cannot be changed. Even better if anyone knows...
Hardware & Devices
Help ! DWM keeps Disabling itself
Desktop Window Manager keeps disabling itself Ive looked on google only thing i found is this guy with the same problem but no solution - Hacking Windows 7 beta problems - Computerworld Blogs Its happened on a few different builds now, latest is 7232 x64. Im running phenomII 940 BE on a DFI...
Customization
Disabling alt+tab screen? Please help
I've been trying for hours now to disable the alt+tab screen. I want to record a sequence of keystrokes, I want to be able to record ctrl+alt+tab, but whenever I press the keys, the alt-tab screen comes up so the buttons won't get recorded. I also have to record them in the actual order, I can't...
General Discussion
Disabling UAC... wow
I seem to get loads of issues when I disable UAC it's incredible! :geek: Gadgets not working, firefox refreshing pages randomly, adobe reading returning blank errors, etc... anybody else got similar experience?
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 11:13.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App