Solved

Simulate button mouse click on Java GUI

Posted on 2004-09-07
6
1,013 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Learn more about the importance of email disclaimers with our top 10 email disclaimer DOs and DON’Ts.
With the shift in today’s hiring climate (http://blog.experts-exchange.com/ee-blog/5-tips-on-succeeding-in-the-new-gig-economy/?cid=Blog_031816), many companies are choosing to hire freelancers to get projects completed efficiently and inexpensively…
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

733 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