Solved

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

Posted on 2014-01-29
3
303 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

762 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

18 Experts available now in Live!

Get 1:1 Help Now