How do I setup a simple HotKey for the F12 button, without a module\active x.

All I wish for the keypress to do, is once you press F12, it will show a frame, and hide a listview. thank you for who answers