Name

process signature bundle identifier, processsignaturebundleidentifier, kPMProcessSignatureProcessSignatureBundleIdentifier — Match a process's bundle identifier.

Synopsis

process signature bundle identifier structure { comparison, options, type, bundle identifier };
comparison : string, choice, default, optional
options : array of comparison option elements, optional, unique
type : string, choice, default
bundle identifier : string, length 1..1024

Description

Match a process's bundle identifier.

Fields

comparison. How should the process signature be compared.

comparison is a string. If comparison is omitted, the default contains is used. comparison is optional. comparison must be one of the following six constants:

  • equal to, kPMProcessSignatureComparison_EqualTo.
  • not equal to, kPMProcessSignatureComparison_NotEqualTo.
  • starts with, kPMProcessSignatureComparison_StartsWith.
  • ends with, kPMProcessSignatureComparison_EndsWith.
  • contains, kPMProcessSignatureComparison_Contains.
  • does not contain, kPMProcessSignatureComparison_DoesNotContain.

options. Comparison options allowing fine control over the comparison method.

options is an array of comparison option elements. options is optional. Each item in options must be unique.

type. Type of process signature.

A process can be identified using a range of methods. The type determines which method is used.

type is a string. If type is omitted, the default name is used. type must be bundle identifier, kPMProcessSignatureType_BundleIdentifier.

bundle identifier. Bundle identifier to compare to the process.

bundle identifier is a string. bundle identifier must be between 1 and 1024 characters long, inclusive.