Back when I used to play games, the lack of global hotkeys annoyed me, so I wrote a little utility to help.
It can be found here:
http://daviddl.orcon.net.nz/GameTamer.zipIt's been sitting on that server for a couple of years now and the source has vanished.
Click Shortcuts, Add Shortcut, enter something like FB2k | &play ( the letter after the & becauses the shortcut key, in this case Ctrl+Alt+P).
In settings, don't set the poll frequency too low, or the shortcut will be executed multiple times (I just discovered this. It also revealed a bug in foobar2000 0.9.3: Executing /command:pause too quickly causes it to crash)