Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 21:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Click a color

Discussion on Click a color within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 3
Received Thanks: 0
Click a color

Hello i just started trying to make bots for a few days and im wondering how to make the mouse click a color. Im using AutoIt if it helps and i know the hex number im just confused on how to get it to work. Thanks.
soul179 is offline  
Old 11/08/2009, 00:09   #2
 
^darkwing's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 148
Received Thanks: 31
Quote:
Originally Posted by soul179 View Post
Hello i just started trying to make bots for a few days and im wondering how to make the mouse click a color. Im using AutoIt if it helps and i know the hex number im just confused on how to get it to work. Thanks.
first of all: wrong section

secound:
use the searchpixel function = position of color
i think there is a function, which can set the cursor position (position of color)
finally use a click function.

i think u should find something about that here in the forum, just search here or google it
^darkwing is offline  
Old 11/08/2009, 04:30   #3
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Quote:
first of all: wrong section
^this The right section is

#Reported

Code:
PixelSearch ( left, top, right, bottom, color [, shade-variation [, step [, hwnd]]] )
Example:
Code:
$coord = Pixelsearch (100, 100, 100, 100, 0x00000) ; Bot searchs for the pixel
If not @error then ;If it found it then
mouseclick ("left", $coord[0], $coord[1]) ;klick at the pixel
EndIf
If @error then ;If it did not find it then
msgbox (0, "Fail", "Could not find the pixel") ;popup a msgbox with title "Fail" and text "Could not find the pixel"
EndIf
Here for more informations:




Sincerly
AllesVergeben is offline  
Reply


Similar Threads Similar Threads
Horse Color (This Program Tells You Your Horse's EXACT Color Values)
10/21/2009 - CO2 Exploits, Hacks & Tools - 35 Replies
CURRENTLY: WORKING (Patch 5157) Alright guys, finally got around to updating and fixing this program... the way it works now is, just run the program, equip the horse you want to look at, and it'll show you it's Color Stats... in future versions I will be making it so u can equip one horse, then another, and it'll tell you what each horse's value is AND what would be the result if u combined them... and maybe even a little further into the future I will release a program that'll allow you to...
WoW Color Hack (Use color-codes in text)
09/23/2007 - WoW Exploits, Hacks, Tools & Macros - 31 Replies
WoWColorHack.flt -=Preamble=- I'm quite surprised that no one has released anything similar yet - the theory behind this dates back to the alpha days. Hell, I first used this filter on my own alpha sandbox. -=Theory=-



All times are GMT +1. The time now is 21:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.