Solved

Simulate button mouse click on Java GUI

Posted on 2004-09-07
6
1,011 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
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…
Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…

856 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