GetTestObjectDescriptor

From Xojo Documentation

Revision as of 15:06, 27 July 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method


Returns an AppleEventObjectSpecifier built to perform some kind of test.

Syntax

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.

See Also

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