08-02-2012, 12:39 PM
I am struggling to do a very simple thing, but my macro is not working... Please help!
Desired behavior:
I am reviewing audio files that have VARIABLE LENGTH. I play them in foobar2000, wait for the audio file to play entirely, then I will go to Excel and write down "OK". Rinse and repeat.
When the audio player is still, its window name is simply "foobar2000 v1.1.13". When an audio file is playing back, the window name changes to "AUDIOFILENAME.WAV [foobar2000 v1.1.13]", and when it finishes playing the window name again reverts to simply "foobar2000 v1.1.13". So I need to wait until the audio player is in still mode again, and only then go to Excel and mark as OK.
how can I do this, since when i wait for the window "foobar2000 v1.1.13" it is not an EXACT MATCH, because it also 'picks up' the window name with the .WAV part... or is there any way for me to wait until the [foobar2000 v1.1.13] disappears?
thank you, I know that's too simple for you but please enlighten my way!!
ROGER
Desired behavior:
I am reviewing audio files that have VARIABLE LENGTH. I play them in foobar2000, wait for the audio file to play entirely, then I will go to Excel and write down "OK". Rinse and repeat.
When the audio player is still, its window name is simply "foobar2000 v1.1.13". When an audio file is playing back, the window name changes to "AUDIOFILENAME.WAV [foobar2000 v1.1.13]", and when it finishes playing the window name again reverts to simply "foobar2000 v1.1.13". So I need to wait until the audio player is in still mode again, and only then go to Excel and mark as OK.
how can I do this, since when i wait for the window "foobar2000 v1.1.13" it is not an EXACT MATCH, because it also 'picks up' the window name with the .WAV part... or is there any way for me to wait until the [foobar2000 v1.1.13] disappears?
thank you, I know that's too simple for you but please enlighten my way!!
ROGER