-
Notifications
You must be signed in to change notification settings - Fork 0
/
adsremover.ahk
29 lines (25 loc) · 866 Bytes
/
adsremover.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#singleinstance force
SetTitleMatchMode, 2
; F1::
; kakaoId := WinExist("ahk_class EVA_Window_Dblclk")
; Control, hide , , EVA_Window4, ahk_id %kakaoId%
; WinGetPos, X, Y, kakaoWidth, kakaoHeight, ahk_id %kakaoId%
; realHeight := kakaoHeight - 101
; WinSet, Region, 0-0 W%kakaoWidth% H%realHeight%, ahk_id %kakaoId%
; WinSet, Redraw,, ahk_id %kakaoId%
; return
Loop
{
kakaoId := WinExist("ahk_class EVA_Window_Dblclk")
IfNotEqual, %kakaoId%, 0x0
{
WinGetPos, X, Y, kakaoWidth, kakaoHeight, ahk_id %kakaoId%
realHeight := kakaoHeight - 101
realWidth := kakaoWidth - 2
WinSet, Region, 0-0 W%kakaoWidth% H%realHeight%, ahk_id %kakaoId%
WinSet, Redraw,, ahk_id %kakaoId%
Control, hide , , EVA_Window4, ahk_id %kakaoId%
}
Sleep, 250
}
#q::ExitApp