How can I write a program with the help of the stackoverflow community with minimal programming skills and community benefits?

For example, my program should be like this:

The program should take a screenshot from the screen every 10 seconds and check the color of a specific screenshot pixel. If the pixel of the desired color, the program presses the Enter button and stops its work. If the color of the pixel does not match, then the program continues every 10 seconds to take a screenshot and check. After verification, the screenshot must be deleted.

I'm new to Java, I hope for a detailed explanation of how this is best implemented, thanks in advance for your help.

Closed due to the fact that the essence of the question is incomprehensible by the participants of Yuriy SPb , enzo , Bald , user194374, fori1ton 7 Jul '16 at 6:15 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

1 answer 1

Break the task apart. For example:

  1. How to run the program every N seconds
  2. How to take a screenshot
  3. How to know the color of a particular pixel in the picture
  4. How to programmatically click on Enter
  5. How to delete a picture

After that, ask these questions here. Get the answers and connect them together - get the right program and fill up the Internet with many useful information. In this kind of question, search engines will not be able to index so that people with similar problems get here. And here we are creating a database of application solutions, and do not write free code to order.

Total: one specific problem - one specific question. And the headings for indexing by search engines should be speaking, containing a specific application problem. In its current form, the question and title do not fully fit into the format of the site.

  • one
    I didn’t and didn’t need a code to order, but I’m just going to try to avoid such questions in the future. Thanks for the help, I’ve already found almost everything I need. - Vadim