Sign in to follow this  
Followers 0
jslegers

Use of external text list

5 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Thanks I will take a look at it. Great. If this works good it's better then editing Grouppolicy files.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0