close, process, shutdown, terminate, name, scriptless, script-less, scripted, step, view, stepview

Method Zap.SystemUtil.CloseProcessByName

Closes process by given name

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.SystemUtil.CloseProcessByName (
	String ProcessName,
	Boolean CloseAllMatches [Optional]
)

ZAP Utility

SystemUt...ByName

Google Chrome

false

ProcessName

CloseAllMatches

Parameters

ProcessName

Type: Integer

Process name

CloseAllMatches (optional)

Type: Boolean

Default value: false

Option to close All processes with given name

Returns

No return value

Example

VBScript

Zap.SystemUtil.CloseProcessByName "Google Chrome", false

JavaScript

Zap.SystemUtil.CloseProcessByName("Google Chrome", false);

Comment

Close "Google Chrome" process

ZAP Utility

SystemUt...ByName

Google Chrome

Comment

Close all processes with the given name

ZAP Utility

SystemUt...ByName

Google Chrome

true

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227