Forum Discussion

m_essaid's avatar
m_essaid
Valued Contributor
11 years ago

Accessing menu item

Hi, I need to access the third item of the fourth menu of an application. It's WinMerge, menu Tools, submenu Report. I read a lot of documentation but didn't succeed. Any help ...
  • jmcpeek's avatar
    11 years ago
    I know there's a "right" way to do it by actually traversing the menu system, but like you I haven't been able to get that working in Windows apps. I ended up copping out and just using keyboard shortcuts. It looks like the one you want can be hit with ALT+T+R



    So something like:

        objWinMerge.keys("~TR")