0
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#=::Return
; Disable Alt+F4
!F4::Return
  • 3
    The line ; Disable Alt+F4 might possibly be giving a hint as to what effect the script might have. – Mokubai Mar 13 '18 at 13:51
  • Thanks. But besides the obvious, what other problems may arise after running the script? In my case, "Alt" key somehow disables my entire keyboard. Pressing it once will enable it back. – dbacs70 Mar 14 '18 at 13:18
  • Without trying it (I have no reason to) then I would assume that it disables Alt-F4. If you are having trouble with it not working as expected then you should tell people what you are expecting to happen and what is actually happening. Perhaps even mention where you got this script. You can edit your question to provide more information. – Mokubai Mar 14 '18 at 13:23
1

The only thing this script does is disable shortcut keys for Alt+F4 and WindowsKey+Equals

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.