Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

856 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