Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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.
- ^s::
- MouseGetPos, Xs, Ys
- Return
- ^k::
- MouseGetPos,Xk,Yk
- Return
- ^q::
- MouseGetPos,CurX,CurY
- PixelGetColor,wynik,CurX,CurY
- Return
- ^+s::
- MouseClick,Left,,
- SetTimer, label, 20
- Return
- ^e::
- SetTimer, label, off
- label:
- PixelSearch,X,Y,Xs,Ys,Xk,Yk,kolor,3,fast
- if(ErrorLevel=0)
- MouseClick,Left,X+50,Y
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement