Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #InstallKeybdHook
- #singleinstance Force
- #usehook
- #KeyHistory 0
- ~xbutton1::
- while GetKeyState("xButton1", "p"){
- CoordMode, Pixel
- PixelGetColor, clr, 682, 519
- if (clr ="0x7D00FF"){
- send {e}
- }
- if (clr ="0xD0FFFA"){
- send {wheelup}
- }
- if (clr ="0xFF0058"){
- send {wheeldown}
- }
- if (clr ="0x00F9FF"){
- send {5}
- }
- if (clr ="0x0075FF"){
- send {f}
- }
- if (clr ="0x00FFB7"){
- send {6}
- }
- if (clr ="0x1F6B00"){
- send {r}
- }
- if (clr ="0xFF5B42"){
- send {8}
- }
- if (clr ="0xC7FF00"){
- send {q}
- }}
- return
- [::
- mousegetpos, mx, my
- pixelgetcolor, color, %mx%, %my%
- tooltip %color%`n x: %mx% y: %my%
- clipboard = %color% x: %mx% y: %my%
- return
- `::
- Suspend, toggle
- If A_isSuspended = 0
- tooltip SCRIPT ON
- sleep 300
- tooltip
- If A_isSuspended = 1
- tooltip SCRIPT OFF
- Return
Advertisement
Add Comment
Please, Sign In to add comment