Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 17:07

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

Advertisement



frage zu imagesearch

Discussion on frage zu imagesearch within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1

 
Artarex's Avatar
 
elite*gold: 1
Join Date: Aug 2009
Posts: 3,022
Received Thanks: 1,842
frage zu imagesearch

Hi habe diesen code:
PHP Code:
#RequireAdmin

$x1=0
$y1
=0

while 1
    sleep
(1000)
$coord PixelSearch800,8905005000x0FD0000,$x1,$y1)
If 
Not @error Then
    MouseClick
("left"$coord[0]& "," $coord[1])
EndIf

WEnd 
Leider sind wohl ein paar fehler drinne ich will das wenn er das pixel gefunden hat mir linksklick draufklickt.

Danke für eure hilfe
Artarex is offline  
Old 07/29/2010, 21:08   #2
 
CroSSiie's Avatar
 
elite*gold: 205
Join Date: Jun 2010
Posts: 264
Received Thanks: 686
Quote:
Originally Posted by nilsheigener View Post
Hi habe diesen code:
PHP Code:
#RequireAdmin

$x1=0
$y1
=0

while 1
    sleep
(1000)
$coord PixelSearch800,8905005000x0FD0000,$x1,$y1)
If 
Not @error Then
    MouseClick
("left"$coord[0]& "," $coord[1])
EndIf

WEnd 
Leider sind wohl ein paar fehler drinne ich will das wenn er das pixel gefunden hat mir linksklick draufklickt.

Danke für eure hilfe
also 1.
das x1, y1 verwendest du ja scheinbar nicht also weglassen
der nächste fehler liegt im mouseclick
der müsste so aussehen:
PHP Code:
MouseClick("left",$coord[0], $coord[1]) 
dann müsste eig alles gehen
CroSSiie is offline  
Thanks
1 User
Old 07/29/2010, 21:26   #3

 
Artarex's Avatar
 
elite*gold: 1
Join Date: Aug 2009
Posts: 3,022
Received Thanks: 1,842
Closed pls
Danke geht wunderbar

thx
Artarex is offline  
Reply


Similar Threads Similar Threads
ImageSearch../Return..
08/09/2010 - AutoIt - 3 Replies
Hallo Community, Ich brauch Hilfe bei meinem Script... Und zwar will ich mit der ImageSearch Funkt. den Bot dazu bringen ein Bild zu suchen und wenn er das gefunden hat soll er ein weiteres suchen und wenn wenn er es nicht findet soll er von vorne anfangen. Leider schaff ich es nicht das er von vorne anfängt wenn er das Bild nicht findet. So siehts bei mir aus aber funktioniert nicht so wie ichs will.. #include <ImageSearch.au3> HotKeySet ( "{F9}" , "Start" ) HotKeySet ( "{F10}" ,...
ImageSearch wie benutzen?
04/02/2010 - AutoIt - 21 Replies
Problem: Es findet nix. Toleranz ist schon ziemlich hoch... am Bild kanns also nich liegen... Ach ja, die MsgBox zeigts auch nich an. $x1 = 0 $y1 = 0 Do $result = _ImageSearch("login.bmp",1,ByRef $x1,ByRef $y1,100) Until $result=1 If $result=1 Then WinActivate("S4 Client")
[Help] Imagesearch function.
01/19/2010 - Mabinogi - 5 Replies
is there any way or mod that i can make npc or certain item's name show up with black background(not transparency) when alt is pressed? cause i'm trying to make a pick up bot and whenever macro try to find image of item such as wool or gold, it failed to find such item because of transparency name background.
ImageSearch?
01/11/2010 - AutoIt - 4 Replies
Hey, kann einer von euch, einfach für einen Anfänger erklären, wie man mit Autoit die Funktion "ImageSearch" benutzt? Thx für eure Antworten!
Autoit ImageSearch
09/20/2009 - AutoIt - 10 Replies
moin Leuts, hab ein problem mit einem Autoit ImageSearch Bot.Unzwar wenn ich den Bot starten erscheint er für ein bruchteil einer sec unten rechts iner taskleiste(da wo die uhr ist) dann schliest er sich wieder. Warum auch immer. Hier mal der Script HOTKEYSET("{F6}", "Start") HotKeySet("{F5}", "Stop") #include <ImageSearch.au3>



All times are GMT +2. The time now is 17:07.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.