Method

GetTestObjectDescriptor


Description

Returns an AppleEventObjectSpecifier built to perform some kind of test.

Usage

result = GetTestObjectDescriptor(DesiredClass, Object, Comparison)

Part

Type

Description

result

AppleEventObjectSpecifier

The object that was created.

DesiredClass

String

The class of AppleEvent object you are looking for.

Object

AppleEventObjectSpecifier

The source object. Pass Nil to search at the application level.

Comparison

AppleEventObjectSpecifier

The object describing the actual test to be performed.

Notes

At present, GetStringComparisonObjectDescriptor is the only function that returns an AppleEventObjectSpecifier describing a test, but this will probably be extended in the future.

Compatibility

All project types on all supported operating systems.