Sivvy wrote:
Code:
...
If _AppName = AIC || STM || MNU ; <------RTFM
...
Continue ; <------RTFM - continue is for loops!!
}
No Tested, but may work.
No fooling! You should test before posting!!!
SytnerIT, the "if" has been tested like this:
Code:
StringCaseSense, On ; if you want case sensitive search
_AppName = STM
If _AppName in AIC,STM,MNU
MsgBox, found it
Else
MsgBox, Not found
ExitApp
and your code would be something like this:
Code:
IfWinExist, Choose Setup Language, Choose language for installation process
{
WinActivate
WinWaitActive
If _AppName in AIC,STM,MNU
{
Send {Tab}{Space}
Sleep, 100
; MsgBox, found it
}
else {
Send,{Enter}
Sleep, 1000
; MsgBox, not found
}
}
This code not tested as I don't have your environment/context.