GetTestObjectDescriptor
From Xojo Documentation
Method
This method is only available on the macOS platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
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.