Click here to Skip to main content
15,885,104 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Can someone help me make a program that once run, will continuously look for an template image (stored in directory of program) to match in realtime with the screen. Once found a certain image it will press a key (mainly it will be 4 images assigned to the arrow keys), and the program would run on windows.

What I have tried:

Im a begginer in coding(the ideea is that i cant do any code line on that subject) and i want to do something with this kind of code
Posted
Updated 28-Jan-19 20:48pm
v5
Comments
Mohibur Rashid 28-Jan-19 18:53pm    
Describing certain issue in certain way will definitely lead you to certain disappointment.
Mohibur Rashid 28-Jan-19 18:55pm    
Also I reported this question as not a question.
Mike Hankey 28-Jan-19 19:06pm    
This is so vague you'll never get an answer, well a civil anser.
What language?
What have you tried?
Where are you stuck?
What class is this for?
Dave Kreskowiak 28-Jan-19 20:01pm    
Why does this sound like you're trying to write a bot, or similar, for a game?

1 solution

No, that isn't what we are here for.
Quote:
Im a begginer in coding(the ideea is that i cant do any code line on that subject) and i want to do something with this kind of code

This is a complex task, that needs a good deal of both experience and knowledge - and that means that it's not us "help me make a program" but us doing it and you just going "Rah! Rah!" like a coding cheerleader. That's not fair, and doesn't help anyone (except you who get a product that cost someone a lot of time and effort). Certainly, you won;t learn anything during the exercise because your skill level is next to nothing and you have no idea what the code does, let alone why it's like it is.

Develop your skills, get some experience, then try to write it yourself. Or go to Freelancer.com and pay someone to do it - but be aware that if you pay peanuts, you will get monkeys. You get what you pay for, and there are a lot of useless coders out there!
 
Share this answer
 
Comments
Member 14132765 29-Jan-19 4:56am    
Ok, I got that and im sorry for wasting your time. But what code language would you recomand me to use for a task like that?
OriginalGriff 29-Jan-19 5:12am    
One you know!
Language isn't that important, provided that the resulting EXE file runs on eth machine, and is relatively modern (QuickBasic for example meets the first criteria, but not the second, and probably won't work).

Think about exactly what you are trying to do, and - assuming this isn't a game cheating bot - work out exactly what you need to do first. Then start thinking about languages, assuming you know two or more. If it's a game cheating bot, then that will complicate things a lot, probably get you kicked off whatever game you are playing (they are used to people trying to cheat and can usually spot it) and you probably don't have direct access to the "screen" anyway in modern games.
Member 14132765 29-Jan-19 8:24am    
Well, i thought it as a cheat bot but I just wanted to use the image analyzer on desktop. It could be possible with c++ or c ?
OriginalGriff 29-Jan-19 8:48am    
Games don't always show on the desktop - they use the GPU a lot more closely.
Try a screenshot with PRTSCN and see if the image shows up.

But cheating games is not what this site does: it's unfair - it's literally cheating - and this isn't that sort of site. Heck, some of us write the damn things!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900