pedrosilva Posted August 22, 2006 Share Posted August 22, 2006 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 Link to comment Share on other sites More sharing options...
vim Posted August 22, 2006 Share Posted August 22, 2006 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 youI'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 Link to comment Share on other sites More sharing options...
BPBNA Posted August 22, 2006 Share Posted August 22, 2006 Do you mean you want to have it run something when theres a picture on your screen? Like vim said, lets see your code. Link to comment Share on other sites More sharing options...
pedrosilva Posted August 22, 2006 Author Share Posted August 22, 2006 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 Link to comment Share on other sites More sharing options...
BPBNA Posted August 23, 2006 Share Posted August 23, 2006 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. Link to comment Share on other sites More sharing options...
pedrosilva Posted August 23, 2006 Author Share Posted August 23, 2006 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? Link to comment Share on other sites More sharing options...
BPBNA Posted August 23, 2006 Share Posted August 23, 2006 Like I just said, take a look at PixelChecksum or PixelGetColor. Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 23, 2006 Share Posted August 23, 2006 (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 August 23, 2006 by Icekirby1 Link to comment Share on other sites More sharing options...
pedrosilva Posted August 25, 2006 Author Share Posted August 25, 2006 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now