I want it so that whenever a button is pressed no matter what window its in...my program will know it.

basically i want to add a handler of the currentwindow.keypress