Solved

Simulate button mouse click on Java GUI

Posted on 2004-09-07
6
1,006 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Whether you believe the “gig economy,” as it has been dubbed, is the next big economic paradigm shift (https://www.theguardian.com/commentisfree/2015/jul/26/will-we-get-by-gig-economy) or an overstated trend (http://www.wsj.com/articles/proof-of-a-g…
Gift cards are not a new concept - it's been around for a very long time.  Undoubtedly, over the past you have received such a card or purchased one for a friend or relative.  Are you aware that you've been feeding the machine?  If not, read on :)
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…
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.

770 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