m_essaid
11 years agoValued Contributor
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 would be much appreciated.
Regards,
Mehdi
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 would be much appreciated.
Regards,
Mehdi
- 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")