Jump to content

How can I place the mouse on an image?


Recommended Posts

I mean, does this macro can point a mouse to a specific bitmap on screen (not just color) and eventually continue some sub-scripts.

Example a red bar with 100% now goes down to 50% can the macro detect it and place the mouse over that bar and eventually do some script to make it 100% again. This is very useful in games wheer other macro can't detect if the character had HP (hitpoints) decreased.

Or it can detect icon on-screen and eventually click the mouse over it.

Thank for your help if this is possible.

Link to comment
Share on other sites

Welcome to the forums... your task is not that simple (as it sounded like you thought it was)... AutoIt has no BitmapSearch function yet (not that it will soon or anything)

But... autoit does have Pixelsearch() and pixelgetcolor... which are very helpfull when detecting pictures.

Read the help file fore more information (search "pixelsearch" or "pixelgetcolor")

What goes around comes around... Payback's a bitch.

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...