Jump to content
Sign in to follow this  
DeckardCain

pretty basic pixel question

Recommended Posts

DeckardCain

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!

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
DeckardCain

Humm... alright, thanks a bunch, I'll try these out :)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.