Hey guys,
I want to writing a program that clicks. I want to be able to specify the area it clicks. Anyone know how to do this? I googled a bunch and couldn't find anything even close to this.
PhiberOptik
0
Junior Poster
Recommended Answers
Jump to PostAs in mouse clicks? Look at the Robot class in java.awt, it allows you to move the mouse, click left/right button etc under program control.
Jump to PostI don't understand what you mean. A "click" is a thing you do with a mouse. Robot simulates you moving the mouse and clicking it, so you don't use your physical mouse. Maybe you can explain in a bit more detail what you want?
Jump to Postyou could probably use "Selenium" to do this for you. it is used more for testing purposes, but it'll do what you want.
All 9 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
PhiberOptik
0
Junior Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
PhiberOptik
0
Junior Poster
sillyboy
43
Practically a Master Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
PhiberOptik
0
Junior Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
sillyboy
43
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.