Jump to content

image click


Recommended Posts

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

Link to comment
Share on other sites

  • Developers

What is it for and what have you tried so far?

ps. removed the dub thread in the wrong forum.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...