Jump to content

Recommended Posts

Posted

Look on this i tryed all::

$Coord = PixelSearch( 123, 450, 450, 123, 15049312 )

If IsArray($Coord) Then MouseClick("Left",$Coord[0], $Coord[1],1,0)

$Coord = PixelSearch( 123, 450, 450, 123, 15049312 )

PixelSearch( 123, 450, 450, 123, 15049312 )

The 3 didnt work and dont work with 0x....

Can like another function do the same thing but with no rectangle ????

it will be the best i think if it exist :S

Thanks!"!"!"!"!"!

Posted

There is nothing wrong with the commands you posted. You may not be searching the proper coordinates. Look up the opt command in the help files, and look up PixelCoordMode and MouseCoordMode.

#include <GuiConstants.au3>
opt("PixelCoordMode",2)
opt("MouseCoordMode",2)

GUICreate("test")
$label = GUICtrlCreateLabel("",50,50)
GUICtrlSetBkColor($label,15049312)
GUISetState()

Sleep(3000)
$Coord = PixelSearch( 40,40,60,60, 15049312 )
If IsArray($Coord) Then MouseClick("Left",$Coord[0], $Coord[1],1,0)

While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
Posted

I think you are searching PixelGetColor($x, $y) ?

i wont get the color xD i want to CLICK on the color :)

Posted

I replied to your PM. But I don't know if it got sent, it didn't appear in my sent items folder. *shrug* Here is what I wrote:

Hi :-)

So this is your code right?

$Coord = PixelSearch( 123, 450, 450, 123, 15049312 )
If IsArray($Coord) Then MouseClick("Left",$Coord[0], $Coord[1],1,0)oÝ÷ Ø-êbÅér¢ìÛhrXïÈì!z|¨º»§¶¬r¸©´ø±zTj·!Â)e_wmêbÅéh*.­×¬Ú)ø­Ë§uêçy«a¢Ø^®è¶¦±.ë-~*ì¶h§h³{*.®è¶¦±èºÚ"µÍÚ[Z[[Z^P[

BÛY
L
BÌÍÐÛÛÜH^[ÙXÚ
LË

L

LLËML
LÌL
BYÐ^J  ÌÍÐÛÛÜ
H[[ÝÙPÛXÚÊ ][ÝÓY ][ÝË  ÌÍÐÛÛÜÌK ÌÍÐÛÛÜÌWKK

If that does not find the pixel you want on your desktop. Then either your coordinates are wrong, or your color is wrong. This should move to the pixel and click once. Keep in mind, you probably need to double click if you are trying to get it to launch some shortcut on your desktop. Also, there are easier ways to start programs on your desktop.

Posted

just an idea, maybe a cheat blocker, like gameguard or xtrap running around ?

Yeah i think but , i tryed on my destop and didnt work too...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...