I'm trying to setup a multiple group for Windows Media player which will handle playing a sound when a button is pressed. The problem I'm having is keeping in sync with the App. Is there a way to build in logic for what the app is doing, so that an action doesn't execute unless its in the right state?

My situation is this...WMP uses the same key combo for Play and Pause. I have a group for this...and have an action called play/pause that hits the key combo to fire the action. I added two other actions...and used the states so that they would alternate. One uses the Say 1.3 plugin to say "Play" and the other says "Music Paused". I'm going for the star trek effect here.

Heres the problem.

You hit: It Says:

Play, Playing..
Stop, Music Stopped
Play Music Paused

any ideas on how to prevent that?