Launch App from FrontRow

I’m looking to create small audio files that will have applescript/code attached to them that will activate my alarm program and set the alarm for a certain time from frontrow. The difficult part for me, however, is making an applescript launch upon activation of a song from frontrow. Any suggestions?