I need to take a screenshot that records my Eclipse IDE menu item status. For example, if I clicked the "Project" menu and there comes a list of menu items. I need to record those menu items.
The problem is when the menu item list window (which works like a context menu window) has the focus, the screenshot function is not working. I tried everything on this link and nothing works as long as the menu items window is opened. Any mouse click will close the context menu window, so I cannot use mouse either. However if there is no context menu window opened then screenshots works fine.
How can I record the screen with context menu window displayed?