AutoHotkey Community

It is currently May 26th, 2012, 5:13 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Color clicker
PostPosted: February 28th, 2009, 9:04 pm 
Hello all , I would like to make my script click on windows tray , but they can be in lot of places at my monitor , I would like to know how to make my mouse to click on certain color ... Does anobody know proper mousemove command ? I already picked my color via Color zoomer btw great script , thanks Sean .


Report this post
Top
  
Reply with quote  
 Post subject: 1
PostPosted: February 28th, 2009, 10:10 pm 
I tried this :
Pgup::
{
PixelSearch, Px, Py, 0, 0, 1280, 1280, 0x55462E, 10, Fast
if ErrorLevel
Mousemove 0,0,0,R
else
Mousemove X%Px%,Y%Py%

}
Not working :(


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2009, 11:53 pm 
Hell yeah i got it , but now I need to know how to make script work only 50 ms and after that stop aiming :(


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 1st, 2009, 5:40 am 
Offline

Joined: August 2nd, 2008, 12:31 am
Posts: 101
Change the range of pixels your searching. It will cut down the time.

I don't think the pixel search can go any faster...but there may be a way...

_________________
Woot.

Please read forum etiquette


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 1st, 2009, 9:12 am 
Well its quick enough , but its not accurate I need to aim cursosr only 50 ms ... I tried settimer but nothing :(


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Google Feedfetcher, Miguel, perlsmith, rbrtryn and 75 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group