ShareX / ShareX

ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
https://getsharex.com
GNU General Public License v3.0
29.42k stars 3.18k forks source link

Hotkeys don't work when game window has focus #5662

Closed Bilge closed 2 years ago

Bilge commented 3 years ago

It seems some full 3D game windows capture key inputs before ShareX can process them. ShareX hotkeys should be registered globally so games or other applications cannot intercept or otherwise block the key inputs configured for capture.

adriel-tech commented 3 years ago

Do you have an example of which games this happens on? I mostly game using steam and ShareX print screen always works for me.

Bilge commented 3 years ago

Black Desert in full screen windowed via Steam. Also, I was trying to initiate video capture rather than just print screen but I guess it shouldn't matter what function the keys are bound to.

Jaex commented 3 years ago

Did you tried opening ShareX as admin?

ghost commented 3 years ago

I have the same issue when running some games. Tried running share-x as admin, but prntscrn still doesn't get to sharex. Could there be a workaround using AHK maybe?

Edit: I figured it out, it happens because the game is set to run as admin, blocking all hotkeys from passing through and leaving the game. Either check your game's shortcut, or the actual executable, and make sure "run as admin" is unchecked.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.