Sign in to follow this  
Followers 0
ronartos

How can I place the mouse on an image?

2 posts in this topic

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.

Share this post


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

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