AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Color Clicker?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
zefutb0l
Guest





PostPosted: Thu Mar 20, 2008 4:59 am    Post subject: Color Clicker? Reply with quote

So I noticed AH has color finder but does it have a function where it finds that color and clicks on it?
Back to top
ManaUser



Joined: 24 May 2007
Posts: 901

PostPosted: Thu Mar 20, 2008 5:02 am    Post subject: Reply with quote

No, but you can easily make your own.
Back to top
View user's profile Send private message
lilljimpa



Joined: 18 Apr 2007
Posts: 80

PostPosted: Thu Mar 20, 2008 8:31 am    Post subject: Reply with quote

i have mad one by myself many times

Code:

;;                  -specified region-  --color--
PixelSearch, Px, Py, 200, 200, 300, 300, 0x9d6346, 3, Fast
if ErrorLevel
    MsgBox, That color was not found in the specified region.
else
    mouseclick, %Px%, %Py%


and then i use this to get the color over the mouse
Code:
^!z::  ;;Control+Alt+Z hotkey.
MouseGetPos, MouseX, MouseY
PixelGetColor, color, %MouseX%, %MouseY%
MsgBox The color at the current cursor position is %color%.
return


you can get read all about it here
PixelGetColor and PixelSearch
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group