I have a screen capture procedure that I want to execute only upon a specific key sequence like say Ctrl+P.

How can this be done ?