Solved

Simulate button mouse click on Java GUI

Posted on 2004-09-07
6
1,000 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Learn more about the importance of email disclaimers with our top 10 email disclaimer DOs and DON’Ts.
Originally published Entrepreneur.com Booming numbers of freelancing professionals are changing the face of work. In the United States alone last year, the number of workers freelancing grew from 700,000 to 54 million, according to a Freelancers’…
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…

920 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

16 Experts available now in Live!

Get 1:1 Help Now