Solved

Need windows script to press a button in a Java app once per minute

Posted on 2014-01-29
3
320 Views
Last Modified: 2014-02-02
Can I write a windows script that would press a button in a java app once per minute?  I know it can be done for normal windows apps because I know I can have win32 enumerate windows and I can use Spy to get the handle to the button.

In this case it is a java app running but I guess a window is a window so if that can be enumerated I would need to know how to make a script press the button.
0
Comment
Question by:supportoranges
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
Bill Bach earned 500 total points
ID: 39820840
Try out the tool KeyText (http://www.mjmsoft.com/).  You can schedule this tool to click any location relative to the screen or a given window on a timer.  It is likely to be a LOT easier...
0
 
LVL 1

Author Comment

by:supportoranges
ID: 39828188
Very nice, got it to work, thank you so much, this is a simple solution  I am sorry for the delay in responding.
Supportoranges
0
 
LVL 1

Author Closing Comment

by:supportoranges
ID: 39828190
A W E S O M E!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to dynamically set the form action using jQuery.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

815 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

7 Experts available now in Live!

Get 1:1 Help Now