Python-UIAutomation-for-Windows
Python-UIAutomation-for-Windows copied to clipboard
MS Office/Word 2010: Getting AcceleratorKey and AccessKey from the ribbon tab
trafficstars
Hello @yinkaisheng,
many thanks for all your efforts! Started automation.py with parameters -t10 -c, then… Selected with cursor "Start" tab: ControlType: TabItemControl ClassName: NetUIRibbonTab AutomationId: Rect: (1979,144,2031,167)[52x23] Name: Start Handle: 0x0(0) Depth: 0 SelectionItemPattern.IsSelected: True SupportedPattern: LegacyIAccessiblePattern SelectionItemPattern
Both strings control.AcceleratorKey and control.AccessKey are empty. Why?
Any hints are highly appreciated!
Greetings GHSoCoder
Check Microsoft Inspect.exe. Does it show the same result? If Inspect shows the same result, maybe Word doesn't implement it.