I'm using Adobe Audition and there is a panel within the program which, if the panel is enabled, displays the word "Markers" on it.
I'm trying to work on part of a macro that looks to see if the Markers panel is open and if it isn't, it then send the command to open it which is Alt+8
Code: Select all
SetFocus>Adobe Audition
Let>WSI_TIMEOUT=10
//Wait for
FindImagePos>%BMP_DIR%\image_1.bmp,SCREEN,0,1,XArr,YArr,NumFound,CCOEFF
If>NumFound>0
Message>I See Markers
Else
Press Alt
send>8
Release Alt
Endif
I'm finding though that most times it always sends Alt+8 regardless of whether NumFound is greater than 0.