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

Method Zap.SystemUtil.CloseProcessByWndTitle

Closes process by window title

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.SystemUtil.CloseProcessByWndTitle (
	String Title,
	Boolean BRegularExpression [Optional],
	Boolean CloseAll [Optional]
)

ZAP Utility

Sys...ByWndTitle

Google Chrome

false

false

ProcessName

BRegularExpression

CloseAll

Parameters

Title

Type: String

Window title

BRegularExpression (optional)

Type: Boolean

Default value: false

Option: is the title a regular expression

CloseAll (optional)

Type: Boolean

Default value: false

Option to close all processes with given parameters

Returns

No return value

Example

VBScript

Zap.SystemUtil.CloseProcessByWndTitle "Google Chrome", false, false

JavaScript

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

Comment

Close process with window title "Google Chrome"

ZAP Utility

Sys...ByWndTitle

Google Chrome

Comment

Close all processes with given parameter

ZAP Utility

Sys...ByWndTitle

Google Chrome

false

true

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227