Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 13:15

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

Advertisement



How do i use image search using Auotit?

Discussion on How do i use image search using Auotit? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2013
Posts: 1
Received Thanks: 0
How do i use image search using Auotit?

Basically what i wanna do is this video.


Thanks.

I wanna find any image on my screen no matter where it is and click it.The link given there is now working. I use windows 7 64 bit.

any help please?

Thanks for ya help i made it myself. Was nice. Soz if i asked something wrong. I don't understand German there were similar threads. I am new here.
Jσny is offline  
Old 06/14/2013, 23:44   #2
 
golle12's Avatar
 
elite*gold: 29
Join Date: Aug 2011
Posts: 640
Received Thanks: 493
Search in google Imagesearch Autoit or anything else
golle12 is offline  
Old 06/14/2013, 23:58   #3
 
EinfachSö's Avatar
 
elite*gold: 76
Join Date: Jun 2012
Posts: 1,043
Received Thanks: 216
do you have the ImageSearch.au3? And the ImageSearchDLL.dll? If no then get them.

The rest ist easy.
You need to set a variable.

PHP Code:
#include<ImageSearch.au3> //includes the .au3

$x1=//the coordinates from the found picture
$y1=//we set the variables as Numbers

$variable=_ImageSearch("Picname"1$x1$y10)
If 
$variable=1 then
  MouseClick
("left"$x1$y1//clicks on the found pic
Else
  
blabla
Endif

//at "Picname" need to be the pic that you search for
//the number 1 after that means that he klicks in the middle of the pic
//for 0 its the upper left corner?
// $x1 adn $y1 are the coordinates of the found pic
// the 0 at the end is for the pixels he can differ from the mid/corner 
and if you wanna search in an area use this:

PHP Code:
#include<ImageSearch.au3>

$x1=0
$y1
=0

$var
=_ImageSearchArea("picname"1lurd$x1$y10)

//l= left side of the area
//u=upper side of the area
//r=right site of the area
//d=down side of the area 
EinfachSö is offline  
Reply


Similar Threads Similar Threads
imagesearch
06/05/2011 - AutoIt - 4 Replies
Hallo, ich arbeite gerade mit imagesearch... Wenn er ein Bild gefunden hat, dann geht er ja immer in die linke obere ecke davon. Jetzt möchte ich aber das er von der oberen linken ecke, von dem gefundenen Bild, etwas nach rechts und etwas nach unten klickt, wie geht das?
ImageSearch
02/13/2011 - AutoIt - 1 Replies
Hey Leute, bei AutoIT gibt es ja _ImageSearchArea gibt es auch _ImagesSearchArea Also Area mit mehreren Bildern???
Olly + AuotIt + Me = o.O
07/20/2010 - AutoIt - 8 Replies
Hi ho E*pvp, Hab immer noch das Problem.... Ich machs kurz... Source: #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=
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!
Auotit Angelbot Hilfe
11/30/2009 - Metin2 - 8 Replies
Ich hoffe mal ich bin hier richtig. Ich habe das folgende Problem: Mein AngelBot soll erst dann anfangen, wenn das Metin Fenster aktiviert ist. Aber wenn es aktiviert ist passiert nichts. Bin ziemlich neu in Autoit und kenn mich noch nicht so gut damit aus. Das ist mein Code: HotKeySet("{ESC}", "Terminate") WinWaitActive("METIN2","",3) ; warten bis Metin2 ausgewählt ist



All times are GMT +1. The time now is 13:16.


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.