I am not sure there's any sort of hotkeys functionality in Windows, in which case, you would need to write some sort of system wide hook to catch the keypress and run your app. Any code in your app will not run, until the app runs, clearly
This[
^] is what you need.