Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 12:19

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

Advertisement



Imagesearch and mouseclick

Discussion on Imagesearch and mouseclick within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 28
Received Thanks: 0
Imagesearch and mouseclick

Hey!
I want do bot for Polish Game "footballteam.pl"
And i want do option, if press button, then click 2 time, 400 px right to the image, and its while 1 min...
Code:
While 1
        Select
		Case $msg = $button1	
			$x1=0
			$y1=0
			Dim $anArray[2]
			$anArray[0]=1
			$anArray[1]="atak.bmp"
	$result = _WaitForImagesSearch($anArray,15,1,$x1,$y1,0)
		While 1
                if $result=1 Then
	MouseClick( "left", $x1 + 400, $y1, 2, 1)
		EndIf
                sleep (60000)
                WEnd
WEnd
My problem is, this dont click on this same place....
Dostrix is offline  
Old 05/03/2010, 21:57   #2
 
bassbanane's Avatar
 
elite*gold: 116
Join Date: Oct 2007
Posts: 677
Received Thanks: 248
Try to use _IE Functions.
There's also a Tut for that somewhere here.
It's way easier than using pixel and image stuff and you can even let it run in the background then
bassbanane is offline  
Old 05/04/2010, 18:48   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 28
Received Thanks: 0
ok, thx : >
its great idea ^^
but now how i can do, when someone write login and password in input, then bot write this in IE
#edit
and how i can do, 3 checkbox, and when someone check one of there, then bot press DOWN
Dostrix is offline  
Reply


Similar Threads Similar Threads
[Hilfe]Mouseclick
07/24/2010 - AutoIt - 9 Replies
Ich wollte einen Lvl Bot für Warrock erstellen. Und habe dann mit dem autoit Windows info tool geguckt wo meine maus ist. zBl:503,453 dann gebe ich ein MousClick("left" , 503,453) und speicher das dann. wenn ich ihn nun im game aktiviere Wirft er Granaten(Klickt) wo anders hin :? Ich habe auf meinem PC 800,600 und im Game auch .
MouseClick
03/12/2010 - AutoIt - 4 Replies
Hey com! ich hab mal ne frage wie mach ich es das ich mit mouseclick auf die Start-taste unten rechts drück??? Ich bin noch neu und hab niergends was gefunden also bitte kommt nicht mit sufu! mfg Harfu
Mouseclick tool
10/16/2009 - AutoIt - 5 Replies
hallo, ich wollte fragen ob es einen tool gibt der die Mausclicke und Tastendrücke aufzeichtet. hab viel gesucht aber nix gefunden. wäre toll wenn ihr sowas kennt :D
PixelSearch+MouseClick
03/23/2009 - Guild Wars - 5 Replies
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
MouseClick und so?
01/19/2009 - GW Bots - 9 Replies
Ich habe jetzt in letzter Zeit ein wenig mit Autoit rumgebastelt und aus ein paar Vorlagen diese "Funktion" gemacht: Aber irgendwie funktioniert das mit dem "nicht speichern" nicht... Er klickt einfach irgendwoanders hin, nurnich auf "nicht speichern" Ist mein 1. Versuch und wenns im falschen Forum ist, bitte verschieben.



All times are GMT +1. The time now is 12:20.


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.