End Process Action

Description

Forcibly ends the running instances of the process specified. Where possible, it is better to use the "Window Close" action because it notifies the application before actually shutting it down, thus giving the application time to "clean up." Any data entered or changes made in the program that have not been saved, will be lost.

Used to force a process (usually a program file or EXE) to shut down. This action can be used 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 Workflow bar).

Declaration

<AMENDPROCESS FILE="text" SAMEPROCESS="text [options]">

Example

<AMENDPROCESS FILENAME="notepad.exe">

<AMENDPROCESS FILENAME="c:\winnt\notepad.exe" SAMEPROCESS="ALL">

General Tab Parameters

Use process name: Specifies the name of the executable to terminate. It may be specified with or without the path. Display a list of running processes by clicking the down arrow.

Text, Required
MARKUP:
a) FILE="NOTEPAD.EXE"
b) FILE="C:\WINNT\system32\NOTEPAD.EXE"
c) FILE="C:\WINNT\system32\NOTEPAD.EXE "C:\Program Files\GlobalSCAPE\EFT\AWE\Bin\readme.txt"

If more than one matching process found, then: Specifies whether the application’s window should be normal, hidden, maximized, or minimized when it starts. The following text can be used as a value in markup mode. (In visual mode, use the radio buttons provided.)

FIRST: Terminate oldest process
LAST
: Terminate newest process
NOTHING
: Do not do anything
ALL
: End all matching processes

Text, Optional - default "FIRST"
MARKUP: SAMEPROCESS="ALL"