You can read my reply on a similar topic: How to monitor keyboard input? - #4 by D4no0
Not sure about doing this in a single script.
You can read my reply on a similar topic: How to monitor keyboard input? - #4 by D4no0
Not sure about doing this in a single script.