Synchronizing 2 programs for recording music?

I use Guitar Pro 6 and Audacity for music composition/recording and I'm trying to figure out how to synchronize them. Basically, I want to start playback on GP and recording in Audacity with one key press, so that they are in time with each other. This would save me a lot of trouble for multi-track recordings. Surely there must be an easy way to achieve this? I've looked into hotkey programs but lack the scripting knowledge to use it properly here.

Any insight would be appreciated.