How to listen to hotkey press in while background?

Hi all, I’m writing a screen capture program for windows with ue4.15 where i need to listen to hotkey presses(from keyboard) while the app is in the background, not focused. Is there anyway to do this in Unreal?

Thanks in advance.