Hello,
I need a script to disable windows hotkey "Alt+Tab" ingame.
Following script does not work for me anymore
Hello,
I need a script to disable windows hotkey "Alt+Tab" ingame.
Following script does not work for me anymore
Try:
#IfWinActive Counter-Strike: Global Offensive LAlt & Tab:: Send {Tab Down} KeyWait, Tab Send {Tab Up} return
KeyWait waits for the user to release the key (Tab)
I make custom scripts for money!
Sorry my website is down. Contact me by adding me on Steam. My steam is EpicnessCoding.
Just add me on steam if you have to. (Hint: Search EpicnessCoding, my name changes a lot )
Thanks for your help.
Seems to work in Windows, but not ingame. Tried windowed mode- same: not working ingame, but works in windows.
Any ideas?
I use this for games:
Alt and tab work fine when used separately.
!Tab::return ; Disable Alt Tab.
Make sure your game window name is same as (its possible it changed in a patch)
#IfWinActive Counter-Strike: Global Offensive
Maybe I'm doing something wrong, but this works only on desktop when I dont put #IfWinActive Counter-Strike: Global Offensive [with it, script does not work at all]
I righclick on ahk, "Edit This Script", I put all the commands then save, righclick again and "Reload This Script", turn on my game.
Does not work ingame at all.
What Im doing wrong?
edit:
I put those commands:
; Disable Alt+Tab !Tab::Return ; Disable Windows Key + Tab #Tab::Return ; Disable Left Windows Key LWin::Return
and those works on desktop, chrome and other windows but not steam windows and ingame
Edited by jamba, 31 December 2014 - 02:39 PM.
You can try running your script as admin.
Right click on script icon and run as administrator.
You can try running your script as admin.
Right click on script icon and run as administrator.
Thanks! It helped!
Now, I have this commands:
#IfWinActive Counter-Strike: Global Offensive { ; Disable Alt+Tab !Tab::Return ; Disable Windows Key + Tab #Tab::Return ; Disable Left Windows Key LWin::Return }
And it works almost perfectly.
The only glitch is when I press TAB, then Alt, and then I release TAB still holding Alt - it minimalizes the game.
But any other combinations are OK
I'm going to test some other commands and put results here.
Same things here:
#IfWinActive Counter-Strike: Global Offensive { LAlt & Tab:: Send {Tab Down} KeyWait, Tab Send {Tab Up} return }
Okay, so it seems like the only problem was running as administrator.
Following commands work perfectly when ran as admin
#IfWinActive Counter-Strike: Global Offensive { LAlt & Tab::Send {Tab Down} LAlt & Tab Up::Send {Tab Up} }
Now, how to make Windows 7 autostart AHK with admin permissions?
I found the answer:
http://www.sevenforu...mpt-create.html
Edited by jamba, 02 January 2015 - 12:43 AM.