PixelSearch+MouseClick

03/22/2009 21:22 PenGuin :O#1
Hallo, könntet ihr mir mal helfen?

Wie geht das, wenn ich will, dass das Script eine Farbe mit PixelSearch sucht und dann auf die Stelle klickt wo die Farbe aufgetaucht ist?

Ty schonmal
03/22/2009 21:46 _revo#2
Code:
$color = PixelSearch (.....)
MouseClick ("left", $color[0], $color[1])
wrong section btw ;)
03/23/2009 01:20 Jacob_G#3
$color = 0x00ACABC4 ;Example
$search = PixelSearch(0,0,10,10,$color)
If IsArray($search) Then MouseClick("left",$search[0],$search[1])
03/23/2009 11:08 | Moep |#4
Code:
$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )
If Not @error Then
MouseClick("left", $coord[0], $coord[1])   
EndIf
03/23/2009 14:12 PenGuin :O#5
Quote:
Originally Posted by _revo View Post
Code:
$color = PixelSearch (.....)
MouseClick ("left", $color[0], $color[1])
wrong section btw ;)
Echt? Wohin müsste das dann? Weil ich das ja für einen GW Bot benutzen will.....
03/23/2009 15:53 MF-Rockstar#6
Quote:
Originally Posted by pinguin94 View Post
Echt? Wohin müsste das dann? Weil ich das ja für einen GW Bot benutzen will.....
Vielleicht in die "GW Bot Discussions / Questions"-Sektion ;)

[Only registered and activated users can see links. Click Here To Register...]