Why doesn't QARun Learn properly when I switch between applications using the ALT TAB Keys?

over 8 years ago

Switch between applications using the AppActivate command instead. First launch the applications using the Exec command, then use the AppActivate command each time you want to bring a particular application to the forefront. The following is an example script that switches between three applications using the AppActivate command (omitting z-order):

//Exec launches the three applications

Exec( "notepad" )

Exec( "mspaint" )

Exec( "calc" )

; Brings Notepad to the front

AppActivate( "Untitled - Notepad MainWindow")

; Brings Paint to the front

AppActivate( "untitled - Paint MainWindow")

; Brings Calculator to the font

AppActivate( "Calculator MainWindow")

Comment List
Related Discussions