I have two questions, they are aiming on same program but I made them separate... First question:
I was wondering if it's possible to catch certain keyboard input in Python, if user is not in terminal/shell. So basically, it's like this:
User opens program.pyc
User minimizes program.pyc shell
Opens up another program
Hits defined keyboard key (let's say it's "U")
Python does things from question 2
Second question:
After doing everything from first question, I'd like to use python to use few keyboard buttons in pre-defined row.It's not that hard to make row and other things, but I don't know how to force python to use keyboard keys (for example, 1, 2, 3, 4, then it stops) P.S. have on mind that shell is minimized...
Thanks for reading this, best regards, Amar!