This should be really simple but for some reason I can't get it to work
I'm using Adobe Audition to save multiple WAV files as a new WAV file.
When no file is loaded in Audition the window title is simply Adobe Audition.
When the audio files are loaded in the title changes to Adobe Audition - untitled*
Once I've saved a file the window title changes to Adobe Audition - filename.wav
I'm getting the Macro to give each file a unique name based on variables that are captured earlier on so the file name is basically:
%ProdNumber%_%PubDate%_%ProducerName%_%PartNo%.wav
I've tried using:
SetFocus>Adobe Audition*
WaitWindowChanged>0
and
WaitWindowOpen>Adobe Audition - %ProdNumber%_%PubDate%_%ProducerName%_%PartNo%.wav
Due to the size of the files and the fact they are being saved to a remote drive, it could take 5-15minutes perhaps longer for the file to save.
But nothing works. Any ideas?
Waiting For Window Title To Change
Moderators: Dorian (MJT support), JRL
Re: Waiting For Window Title To Change
Assuming the file name will be unique, I would try using just the file name with no path, no extension. Add an asterisk at the end to match any occurrence of window name that contains the file name at any position in the window name.
Or even just a piece of the file name assuming that piece is unique.
Code: Select all
WaitWindowOpen>%ProdNumber%_%PubDate%_%ProducerName%_%PartNo%*
Code: Select all
WaitWindowOpen>%PartNo%*
Re: Waiting For Window Title To Change
Aha that worked!
Cheers again JRL
Cheers again JRL