Sign in to follow this  
Followers 0
Kriszti

image click

4 posts in this topic

HI ALL

Im new here I started autoit few weeks ago .

Im using image search I can do It, but I dont know how to

to variable click on the image.

Basically I would like to click different point on the image one click after another .

Sorry about my silly (simple) question .

I hope someone can help me or give me some example.

Thank you

Share this post


Link to post
Share on other sites



HI

I want to use some images as a button and click them on different points.

The images are appears(pop up) on different points on the screen thats why Im using image search.

$x = 0

$y = 0

I can click on it this way anywhere on the screen (very nice ),but the problem is this way

I click them on the same point.

Maybe the answer is simple but not for me .

If I put something in $x= or $y= Im afraid the image search wont work.

I should size the image somehow and make a variable for clicking .

Please help me

Share this post


Link to post
Share on other sites

I know this is not the answer you want but i dont know about imagesearch, well only enough to know that its probably not best suited to close popup windows, I would advise detecting the popups with winexists() or similar and winclose() or similar to close them.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0