GetTestObjectDescriptor Function

Returns an AppleEventObjectSpecifier built to perform some kind of test.

Syntax
result = GetTestObjectDescriptor( DesiredClass, Object, Comparison )

Parameters
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.

Return Value
Result | AppleEventObjectSpecifier | The object that was created.

# Notes

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

# See Also

AppleEvent class; GetIndexedObjectDescriptor, GetNamedObjectDescriptor, GetOrdinalObjectDescriptor, GetPropertyObjectDescriptor, GetRangeObjectDescriptor, GetStringComparisonObjectDescriptor functions.