Advertisement
ffskiss

AHK Disable Windows, Alt & Tab Keys

Apr 22nd, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5.     ; Disable Alt+Tab
  6.     !Tab::Return
  7.  
  8.     ; Disable Windows Key + Tab
  9.     #Tab::Return
  10.  
  11.     ; Disable Left Windows Key
  12.     LWin::Return
  13.  
  14.     ; Disable Right Windows Key
  15.     RWin::Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement