[PA] 업무자동화/[AH]Autohotkey

AH close GUI with ESC key

Weneedu 2021. 9. 24. 01:20

20210923 1219 

 

REF

[1] "https://autohotkey.com/board/topic/70606-esc-key-to-close-gui-without-exiting-script-completely/"

[2] "https://www.autohotkey.com/board/topic/108011-closing-a-gui-from-timer-or-escape-key-without-exitapp/"

 

I want to close dialogue window or GUI using ESC key entering

 

The code is here

Esc::Gui Destroy

return

 

Try this

GuiEscape:

  Gui Destroy

  return