#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.
CoordMode, Mouse, Screen
CoordMode, Pixel, Screen
SetTitleMatchMode, 1
F11::
Loop
{
chrome()
}
return
chrome()
{
WinGetPos, wx, wy, ww, wh, Chrome
1st:= 253|95<<16
ImageSearch, xx, yy, wx, wy, ww, wh, *25 %A_ScriptDir%\IMG\1.png
If ErrorLevel
sleep, 10
else
{
sleep, 150
iclick(1st)
}
}
iclick(clickcoord)
{
PostMessage,0x201,1,%clickcoord%,,Chrome
sleep, 200
PostMessage,0x202,0,%clickcoord%,,Chrome
}
위 오토핫키처럼 비활성으로 만들려고 합니다... 잘못된 것 좀 알려주세요.ㅠㅠ
복사해서 수정 설명 해주시면 더 감사하겠습니다ㅜㅜ 꾸벅