As everyone knows, sometimes developers have to document stuff. Or capture some stuff for filing bug reports.
My question is in MS Windows.
I'm trying to capture the context menu (the popup menu that appears after right-clicking an item) of several areas of an application. Pressing Alt to start the Alt+PrintScreen process closes the context menu.
(Only pressing PrintScreen helps, but it's painful to remove the non-window areas everytime).
BONUS: For capturing menus, Alt also closes the menu. However, if you use the Alt key to open the menu in the first place, it works:
Open the Settings app. Go to Ease of access -> Keyboard. On the right, scroll down to the Print Screen key section. Turn on the option Use the Print Screen key to launch screen snipping.
Press Ctrl + PrtScn keys. The entire screen changes to gray including the open menu. Select Mode, or in earlier versions of Windows, select the arrow next to the New button. Select the kind of snip you want, and then select the area of the screen capture that you want to capture.
You can't get the menu on its own, but you can get it to capture the parent window + context menu through a similar trick to the one you discovered with the main menu:
At least you don't have to install any software!
Using Windows 7, I used Ctrl and PrntScr at the same time.
That captured the entire screen. I then pasted (Ctrl + V) into an image editor, and cropped out everything except the context menu.
I do have the Windows High Contrast Acccessibility Mode disabled on my computer (Control Panel -> Ease of Access Center -> Make the computer easier to see -> uncheck "Turn on or off High Contrast ..."). I'm not sure if that was necessary or not.
Note: if your keyboard does not have PrntScr as a primary key (it might show in small blue font), then obviously you'll have to adjust for that (e.g. you may need to press Alt to get the PrntScr function, which means a total key sequence of Ctrl + Alt + PrntScr on your keyboard).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With