New
#11
I've tried the AutoHotKey suggestion using the !Tab::return command to no avail. Is there something new now that I'm missing?
I've tried the AutoHotKey suggestion using the !Tab::return command to no avail. Is there something new now that I'm missing?
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.
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.Code:LAlt & Tab::Send {Tab Down} LAlt & Tab Up::Send {Tab Up}
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/
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.
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:
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.Code:#ifWinActive Counter-Strike: Global Offensive LAlt & Tab::Send {Tab Down} LAlt & Tab Up::Send {Tab Up}
(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.)
Last edited by eyo; 10 Nov 2013 at 14:38.
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
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:
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).Code:SetTitleMatchMode 3 #ifWinActive Counter-Strike: Global Offensive <!Tab::return
Last edited by eyo; 17 May 2014 at 04:45.
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.