Playing with the AXSections attribute, I see that it is an attribute of application windows, and all application windows seem to have it. It is an array of dictionaries. Each dictionary has three items, with keys "SectionDescription", "SectionObject" and "SectionUniqueID".
For example, TextEdit windows have two sections:
SectionDescription = "content" SectionObject = an AXUIElement object SectionUniqueID = "AXContent"
SectionDescription = "top level navigator" SectionObject = an AXUIElement object SectionUniqueID = "AXTopLevelNavigator
Finder windows have three sections, the first two identical to TextEdit plus a third:
SectionDescription = "search" SectionObject = an AXUIElement object SectionUniqueID = "AXSearch"
I can't figure out why this attribute would be settable, or what it is meant to be used for.
|