Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-01-29
3
Medium Priority
?
350 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Introduction to Processes
Screencast - Getting to Know the Pipeline
Suggested Courses

886 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