Page tree
Skip to end of metadata
Go to start of metadata

Description

Counts the number of specified process instances

 

Syntax

Sys_ProcessCount(sProcessExeName) As Boolean

 

Parameters

sProcessExeName (String)

Name of process

 

Return value

Result will be stored in giValue

 

Example

VBScript
If bStatus Then bStatus = Sys_ProcessCount("CapaInstaller.exe")
If bStatus Then bStatus = Job_WriteLog("Custom", "giValue: " & giValue, bStatus, True)

Scripting Guidelines

 

Related functions

Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_CompareProcessOwner

 

Available from

CapaInstaller 5.1, build 106

  • No labels