Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5.  
  6. ^s::
  7.     MouseGetPos, Xs, Ys
  8.     Return
  9. ^k::
  10.     MouseGetPos,Xk,Yk
  11.     Return
  12.  
  13. ^q::
  14.     MouseGetPos,CurX,CurY
  15.     PixelGetColor,wynik,CurX,CurY
  16.     Return
  17. ^+s::
  18.     MouseClick,Left,,
  19.     SetTimer, label, 20
  20.     Return
  21.    
  22. ^e::
  23.     SetTimer, label, off
  24.    
  25. label:
  26.    PixelSearch,X,Y,Xs,Ys,Xk,Yk,kolor,3,fast
  27.     if(ErrorLevel=0)
  28.         MouseClick,Left,X+50,Y
  29.     Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement