Sign in to follow this  
Followers 0
pedrosilva

How can i do scan each image in my screen and do actions?

9 posts in this topic

hi.

How i can activate autoit to execute actions for each "image.file" that autoit scan in my monitor?

like it:

Allways that is scanned in my screen a "dolphyn.bmp" the autoit execute any action.

thank you

Share this post


Link to post
Share on other sites



hi.

How i can activate autoit to execute actions for each "image.file" that autoit scan in my monitor?

like it:

Allways that is scanned in my screen a "dolphyn.bmp" the autoit execute any action.

thank you

I'm not surre what you mean by "scan in". Do you mean as a scanner to scan images into your computer.

Or scan as in look for BMP files and then do something?

Do you have any code at all?

ViM

Share this post


Link to post
Share on other sites

Do you mean you want to have it run something when theres a picture on your screen?

Like vim said, lets see your code.

Share this post


Link to post
Share on other sites

yes see image then do something.I never program autoit before but what i need is very simple,i just need code for do it

Thank you

Share this post


Link to post
Share on other sites

What you need is not very simple, in theory maybe, but not in code. You would need to find out the exact coordinates that the picture would show up and find the checksum of that area. Take a look at PixelChecksum and use the autoit info tool to get the coordinates.

Share this post


Link to post
Share on other sites

hi thanks a lot for replys.

then i need for each image checked to found color positions for check right?how i find the respective colour about exact pixel of my image?

Share this post


Link to post
Share on other sites

Like I just said, take a look at PixelChecksum or PixelGetColor.

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

This is a very complicated, and most likely slow process. Scanning the screen for different pictures is very slow because of the methods used for pixel reading.

Edit: spelling mistake

Edited by Icekirby1

Share this post


Link to post
Share on other sites

well thank you for helps,but i need 2more information:

about the picture,how i get pixel code?how i can do like it:

When pixelcolour is check bettwen 800/300 and 1000/500 of my resolution about 1024/768 Runs: 1mouse click on 500/300 with mouse.

i wish ur replys.thank you to all writers of forum

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