Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有点麻烦。Сan 任何人简要介绍一下 os x 中窗口的层次结构。如果有可能在目标 c 和一些框架的帮助下直接交互的方式。PS我需要知道所有活动窗口的根元素的特征。在下一步中,我需要了解每个活动窗口的所有 GUI 控件。
我想办法得到它。你可以去 AppKit 或 Quartz。您可以通过 ApplicationServices 获得有关 Windows 和使用 Apple Accessibility API 的一些特定信息。希望这个答案可以对你有所帮助。