GetNamedObjectDescriptor
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 that is within another AppleEventObjectSpecifier. The AppleEventObjectSpecifier is found by class and name.
Syntax
result=GetNamedObjectDescriptor(DesiredClass, Object, Name)
Part | Type | Description |
---|---|---|
result | AppleEventObjectSpecifier | The object that was found. |
DesiredClass | String | Indicates the class of AppleEvent object you are looking for. |
Object | AppleEventObjectSpecifier | The source object. Pass Nil to search at the application level. |
Name | String | The name of the object you are looking for. |
See Also
AppleEvent class, GetIndexedObjectDescriptor, GetOrdinalObjectDescriptor, GetPropertyObjectDescriptor, GetRangeObjectDescriptor, GetStringComparisonObjectDescriptor, GetTestObjectDescriptor functions.