Solved

Script to control Windows Application

Posted on 2013-11-12
2
361 Views
Last Modified: 2013-11-13
We have this program that will stop allowing people to login unless someone goes to the server and does a backup of the program's DB once every 30 days.  It gets a little annoying and if someone forgets to do it when the people who have server access are out, it can make for a long day.

How hard is it to write a script that does:

1.  Start AppName.Exe
2.  Click Tools on the menu.
3.  Select Database backup.
4.  Click Start.
5.  Wait for the app to finish, then Exit.

It's a pretty old app, but we have it running on Server 2012.

Appreciate any insight.  I see many possible solutions out there, some free, some not so much.  In my younger days I was a VB person, and I can almost see how to do this in VB (Using maybe the Alt - T for Tools, etc).  

I have no religion when it comes to programming languages!!
0
Comment
Question by:dougp23
2 Comments
 
LVL 20

Accepted Solution

by:
Lazarus earned 500 total points
ID: 39643346
Yes, you can use something like AutoIt for that: http://www.autoitscript.com/site/autoit/
0
 
LVL 1

Author Closing Comment

by:dougp23
ID: 39644862
What a cool program!  Pretty awesome.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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.
OfficeMate Freezes on login or does not load after login credentials are input.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

706 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

20 Experts available now in Live!

Get 1:1 Help Now