Forcibly ends the running instance of the process specified.

NOTE:  Any data entered or any changes made in the program that has not been saved will be lost. Where possible, it is better to use the Close Window action because it notifies the application before actually shutting it down, thus giving the application time to "clean up".

Practical Usage

Used to force a process (usually a program file or EXE) to shut down. Although using the Close Window action will gracefully close the application, at times this action is preferable if the target process is frozen, not responding or unable to be shut down any other way (as is the case with certain applications that run in the task-bar).


Description Properties

The Description tab allows you to customize the text description of any step as it appears in the Task Builder's Steps Pane.

More on setting custom step description

Error Causes Properties

The Error Causes tab allows you to select/omit specific errors that should cause a particular step to fail.

More on Error Causes properties

On Error Properties

The On Error tab allows you to determine what the task should do if a particular step encounters an error.

More about On Error properties

Additional Notes

Provided List of running processes

When in visual mode, a list of running process is displayed by clicking the arrow on the dropdown box in the Filename parameter. This is to assist in selecting a valid process.

Variables and Expressions

All text fields allow the use of expressions, which can be entered by surrounding the expression in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by pressing F2.

More on variables
More on expressions
More on the expression builder


NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.


Sample 1 - End process Notepad.exe.





Sample 2 - End all instances of Internet Explorer process.


<AMENDPROCESS PROCESS="C:\Program Files (x86)\Internet Explorer\iexplore.exe" SAMEPROCESS="all" />


↑ Top