Because Microsoft, in their infinite wisdom, decided to not allow shortcut keys on ribbon items, I need a macro that will on invocation select the Format Pane option from the Picture Format ribbon.
I am using the Access / Interact with / Click Specific UI Element
I was able to choose the ui element and it finds it at
Application{"PowerPoint"} -> AXWindows[1]Window{"Powerpoint Ribbon Macros.pptm"} -> AXChildren[1]TabGroup{"ribbon"} -> AXChildren[0]ScrollArea{"Picture Format Tab Commands"} -> AXChildren[6]Group{""} -> AXChildren[0]Button{"Format Pane"}
However when I try to do an AXPress action, noting happens. I changed that to Move Mouse to Center of Element to see if it would at least move the mouse. It does not.
Not sure of what I am doing wrong or how to further debug this.
Any help is greatly appreciated
