Disabling Alt-Tab and Other Keys

Page 2 of 2 FirstFirst 12

  1. Posts : 2
    windows 7 home premium 64bit
       #11

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


  2. Posts : 2
    Windows 7 Ultimate x64
       #12

    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 Computer


  3. Posts : 4
    windows 7
       #13

    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 Computer


  4. eyo
    Posts : 39
    Windows 7 64bit
       #14

    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.)
    Last edited by eyo; 10 Nov 2013 at 14:38.
      My Computer


  5. Posts : 2
    Texas
       #15

    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 Computer


  6. eyo
    Posts : 39
    Windows 7 64bit
       #16

    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).
    Last edited by eyo; 17 May 2014 at 04:45.
      My Computer


  7. Posts : 2
    Texas
       #17

    your the best! thanks alot!
      My Computer


  8. eyo
    Posts : 39
    Windows 7 64bit
       #18

    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 Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About 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:29.
Find Us