Usage
Function ZAP.SystemUtil.CloseProcessByName (
String ProcessName,
Boolean CloseAllMatches [Optional]
)
ZAP Utility
SystemUt...ByName
Google Chrome
false
String 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);
ZAP Utility
SystemUt...ByName
Google Chrome
Comment
Close all processes with the given name
ZAP Utility
SystemUt...ByName
Google Chrome
true

Comment
Close "Google Chrome" process