Solved

Script to control Windows Application

Posted on 2013-11-12
2
369 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb stateless example 2 18
ejb example issues 3 20
Server 2016 can't install roles 3 35
AD issue after VM restore 5 12
A short article about problems I had with the new location API and permissions in Marshmallow
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

809 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