Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  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. CoordMode, ToolTip, Screen
  7. CoordMode, Pixel, Screen
  8. CoordMode, Mouse, Screen
  9. CoordMode, Caret, Screen
  10. CoordMode, Menu, Screen
  11.  
  12. c::
  13. MouseGetPos X, Y
  14. PixelGetColor, color, X, Y
  15. MsgBox
  16. (
  17. Color: %color%
  18. Mouse Coords: %X%, %Y%
  19. The color has been copied to your clipboard.
  20. )
  21. clipboard = %color%
  22. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement