Open staticImages opened 10 months ago
最新版的企业微信无法获取到所有的控件信息,试过了管理员启动,加上--force-renderer-accessibility都不行,只能拿到简单的两个窗口信息
UIAutomation 2.0.18 (Python 3.9.13, 64 bit) 2023-08-16 17:45:54.591 automation.py[79] main -> Starts, Current Cursor Position: (1248, 116) ControlType: PaneControl ClassName: #32769 AutomationId: Rect: (0,0,1920,1080)[1920x1080] Name: '桌面 1' Handle: 0x10010(65552) Depth: 0 SupportedPattern: LegacyIAccessiblePattern ControlType: WindowControl ClassName: WeWorkWindow AutomationId: Rect: (424,87,1604,890)[1180x803] Name: '企业微信' Handle: 0x380816(3672086) Depth: 1 SupportedPattern: LegacyIAccessiblePattern TransformPattern WindowPattern ControlType: PaneControl ClassName: TitleBarWindow AutomationId: Rect: (424,87,1604,115)[1180x28] Name: '' Handle: 0x2309D4(2296276) Depth: 2 SupportedPattern: LegacyIAccessiblePattern ControlType: PaneControl ClassName: PerryShadowWnd AutomationId: Rect: (406,69,1622,908)[1216x839] Name: '' Handle: 0x200D04(2100484) Depth: 2 SupportedPattern: LegacyIAccessiblePattern TransformPattern 2023-08-16 17:45:54.763 automation.py[114] main -> Ends
请问这个有解决方案吗?
用inspect去定位,然后数有几层,是什么name或className.
应该是企业微信不支持,支不支持是由应用程序决定的。
企微用fulter开发的,没有组件,智能用截屏来做吧
最新版的企业微信无法获取到所有的控件信息,试过了管理员启动,加上--force-renderer-accessibility都不行,只能拿到简单的两个窗口信息
请问这个有解决方案吗?