Solved

Simulate button mouse click on Java GUI

Posted on 2004-09-07
6
993 Views
Last Modified: 2008-01-09
All ideas welcome on this one!

I'm looking for a way to simulate a button mouse click on Java GUI (Applet or Application). The tricky thing to this problem is that the Java source code of the GUI I'm trying to click on is not available.

I'm willing to try *any* ideas you have.

Thanks community!

Carlos
0
Comment
Question by:cvillegas
  • 4
  • 2
6 Comments
 
LVL 8

Expert Comment

by:pjcrooks2000
ID: 11999952
Can you elaborate please on what you want to do?  what do you mean by simulate mouse button click !

cheers

pjcrooks2000
0
 

Author Comment

by:cvillegas
ID: 12000130
sure. Let me elaborate. I want to create program 'A'  (in whatever language with whatever technology) that will automatically click a button inside a third party program written in Java just as if you were physically clicking the button with your mouse.

Hopefully this clarifies what I'm looking for. :)
0
 
LVL 8

Accepted Solution

by:
pjcrooks2000 earned 500 total points
ID: 12000180
Hmmm why not use a macro program for that.  You can record keystrokes and it will copy what you do yourself!

have a look at

macro magic
macro express

try and see if they do what you want,

cheers
pjcrooks2000
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:cvillegas
ID: 12006986
That's an idea! However, I would prefer to not depend on a third party commercial app. What I am looking for is precisely how apps such as macro express get the job done.

Anyone else?
0
 
LVL 8

Expert Comment

by:pjcrooks2000
ID: 12011563
Actually there are tons of Macro programs around some of them may be free you could always google to see if there a free one!  But those two I have used in the past, in particular I suggested it to a friend Ooooh about three years ago when he set his business up.  I found he was doing a lot of mundane tasks and writing out lines and lines of text for reports he was making.  The reports very often needed the text to be exacltly the same as if it were to explain the state of something he was working on.  e.g. I checked the device and I found that the battery had not been removed blah blah blah so we set the hot keys up for him.

He streamlined his business so much that he has expanded to 8 times the amount of manpower all using the same software and all with automated tasks that they do.  He managed to cut down the time it took for doing these report from 1 hour to under 1/2 an hour with the use of the software.

I hope it meets with your approval :)

cheers

pjcrooks2000
0
 
LVL 8

Expert Comment

by:pjcrooks2000
ID: 12033861
Thanks for accepting cvillegas

Please provide me and some others with some feedback on your final solutions  cheers sport!

pjcrooks2000
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

This is a quick article, and by no means should you quit your job today or plan to feed your family of 5 on a business idea. Starting a business takes work. This article will only give you the basic skeleton of understanding. Going into business for…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
The Bounty Board allows you to request an article or video on any technical topic, or fulfill a bounty request to earn points. Watch this video to learn how to use the Bounty Board to get the content you want, earn points, and browse submitted bount…
Articles on a wide range of technology and professional topics are available on Experts Exchange. These resources are written by members, for members, and can be written about any topic you feel passionate about. Learn how to best write an article t…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now