Last active
November 24, 2019 17:21
-
-
Save rediffusion/b9f4ff21aa30e3b3ab3b46d6b135f87e to your computer and use it in GitHub Desktop.
Имеем открытую программу, программа закроется через 2 секунды.
Можно протестировать для закрытия pop-up (например "[alexamaster](https://www.alexamaster.net/)").
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance, Force | |
#Persistent | |
;~ ************************************************** | |
SetTitleMatchMode, 2 | |
SetTimer, Close_Scite, 200 | |
MsgBox here 1 | |
MsgBox here 2 | |
return | |
Close_Scite: | |
WinClose, ahk_class SciTEWindow | |
;~ WinClose, SciTE4AutoHotkey ; Так будет искать везде в заголовке. NOTE: SetTitleMatchMode, 2 ··· нужно закоментировать. | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment