World-of-warcraft – Hide the UI and take a screenshot with one key press

windowsworld of warcraft

In World of Warcraft there is a screen shot feature that is assigned to the print screen key by default.

When I take screenshots, I like to hide the user interface by pressing alt + z and then pressing the print screen key to take a screenshot.

The problem with this is that by the time I've pressed alt + z and then pressed the print screen key, the thing I wanted to take a screenshot of is often different or not there any more.

What do I need to do to get the same effect as pressing alt + z and then the print screen key with one key press? Can this be done with a macro, or is there something in there already that does it? I've looked through the options, but I can't find anything, maybe I missed it.

Best Answer

Use Autohotkey, you can rebind the print screen button (or any other button) to first send alt+z and then send printscreen.

Something like this should work:

PrintScreen::
    Send, {Alt}z
    sleep, 100
    Send, {PrintScreen}
    sleep, 100
    Send, {Alt}z

If you are good at using AHK you could also make it so that the alt+z would only be sent if the focus is set to a World of Warcraft window. I recommend asking on either Stack Overflow or the Autohotkey forums for help on adding that functionality.