I have created a simple OCR with python to recognize text. I want this function to run when a global hotkey is pressed even if the focus is not on the app. How can I achive this