Alt + F4를 비활성화하려고하는데 Windows 키 + Q를 누르면 활성화하고 싶습니다. 지금까지 작동하지 않는 문제가 있습니다.
#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.
if (#q)
{
Send !{F4}
Return
} else {
!F4::Return
}
; autoexecute section:
Alt_F4_enabled:= false
; ...
return ; end of autoexecute section
#q:: Alt_F4_enabled:= true
!F4::
If Alt_F4_enabled
{
Send !{F4}
Alt_F4_enabled:= false
}
else
return ; do nothing
return
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다