Usage
Function ZAP.SystemUtil.ProcessId()
ZAP Utility
ZAP...ProcessId
processId
Output Parameter
Parameters
This method does not take parameters
Returns
The system-generated unique identifier of the process
Example
VBScript
Zap.SystemUtil.Run "firefox.exe"
msgbox Zap.SystemUtil.ProcessId
JavaScript
Zap.SystemUtil.Run("firefox.exe");
alert(Zap.SystemUtil.ProcessId());
ZAP Utility
Zap.SystemUtil.Run
firefox.exe
ZAP Utility
Zap...ProcessId
processId

Comment
Run Firefox browser and save its process ID to variable