Solved

Script to control Windows Application

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

864 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

24 Experts available now in Live!

Get 1:1 Help Now