You have to login in order to post a reply to this topic.

3 replies [Last post]
rippergr
User offline. Last seen 1 year 30 weeks ago. Offline
Joined: 07/09/2010
Posts: 2

Hello all

I want to make a script to close a program . I tried with close window but it just minimized it.

I can't find an option like close process .If someone knows how can I do that please help me .

Thanks in advance.

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: How to close a program

 Well, if you have the latest release available (v3.1) there is a special action named "Terminate Process" or sth. Notice that in order to get this release, you will have to send an email requesting it from the support department since officially it is beta (even though it is actually a very stable version).

If you do not want to use v3.1, you can just use the "Run DOS Command" action and send something like this:

taskkill /F /IM "proccessname.exe"

For example, if you want to terminate the notepad process you should write:

taskkill /F /IM "notepad.exe"

Notice, that the taskkill tool is not available in the Home version of Windows (I know that for sure at least for XP)

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==

rippergr
User offline. Last seen 1 year 30 weeks ago. Offline
Joined: 07/09/2010
Posts: 2
Re: How to close a program

Thanks for your quick reply.

This trick is working fine :)

Thanks again.

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: How to close a program

 No problemo!

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==