jslegers Posted January 31, 2006 Share Posted January 31, 2006 Hi, I'm here at a customer of us which have a challenge. They want to have a program to check for windows that are active to be closed such as setup or messengers or something like that. Is it possible for Autoit to use an external txt list for the windows names ? With kind regards, John Link to comment Share on other sites More sharing options...
John Posted January 31, 2006 Share Posted January 31, 2006 I wrote a program in autoit specifically for that. With it you can pass a delimited argument to the program via shortcut, command line, etc and if any of those programs are open it will either open or close them depending on the switch used. It also has a gui to act as a task manager. I upload it shortly. Link to comment Share on other sites More sharing options...
John Posted January 31, 2006 Share Posted January 31, 2006 Here it is. There are 2 example shortcuts, 1 to open notepad and calc, the other to close them. You will have to change the path to where ever you put TaskCmd.exe. It uses an ini file included. The agument list for opening programs can be just the executable name if it is in the path, full path otherwise. Closing programs only needs the program name.TaskCmd.zip Link to comment Share on other sites More sharing options...
KegRaider Posted January 31, 2006 Share Posted January 31, 2006 What a great idea! Thanks John, i have definately gotta take a look at this! Endless possiblities! Stop corp users from using messengers (as mentioned), winamp etc. Link to comment Share on other sites More sharing options...
jslegers Posted January 31, 2006 Author Share Posted January 31, 2006 Thanks I will take a look at it. Great. If this works good it's better then editing Grouppolicy files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now