Jump to content

pretty basic pixel question


Recommended Posts

I've been trying to figure this out for a while now... and I'm sleepy so I may be over looking something, but I'm trying to use Pixelsearch to find a pixel in a box... got that down. I need the script to click on the pixel... and I'm not sure which combination to use... it'd help a lot if someone could let me know. Sorry for the newb question, but am new to autoit and still learning.

Thanks for any help!

Link to comment
Share on other sites

  • Moderators

I've been trying to figure this out for a while now... and I'm sleepy so I may be over looking something, but I'm trying to use Pixelsearch to find a pixel in a box... got that down. I need the script to click on the pixel... and I'm not sure which combination to use... it'd help a lot if someone could let me know. Sorry for the newb question, but am new to autoit and still learning.

Thanks for any help!

Look at Opt + MouseCoordMode

Look at Opt + PixelCoordMode

Look at AutoInfo.exe >> Options >> Coord Mode

Look at the help file for PixelSearch() itself and you will see a MouseClick() example.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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