It's been a while since I last used MS as everything has been running beautifully. Unfortunately the recent world events have caused lots of changes and now I need to rewrite a macro to use a different version of a particular program, Adobe Audition.
In the old version of Audition, when you opened a file the window name would change to Adobe Audition - name of file. In the new version the window title remains the same the whole time but a window within the program does change. Using the View System Window tool I can see that this is called:
200230 DroverLord - Window Class "DroverLord" - Frame Window
What I'm less clear on is how I use this information. Essentially I just want the macro to wait until the file has loaded in this window or until the window has changed.
View System Windows
Moderators: JRL, Dorian (MJT support)
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
Re: View System Windows
WaitReady might do the job here.
If you're looking to use SetFocus for "200230 DroverLord - Window Class "DroverLord" - Frame Window" you could do something like this :
If you're looking to use SetFocus for "200230 DroverLord - Window Class "DroverLord" - Frame Window" you could do something like this :
Code: Select all
//You may also need to try one of these :
Let>WF_TYPE=3 - Child Windows Only
Let>WF_TYPE=0 - No Child Windows
Let>WF_TYPE=1 - ALL Windows (Default)
Let>WF_TYPE=2 - Visible Windows Only
Let>WIN_USEHANDLE=1
SetFocus>200230