How to use winwaitactive to search for multiple titles at a time.? Like in my code I am searching for the window with title "Windows Security" and passing credentials automatically. WinWaitActive("Windows Security") But there is another window also where I need to pass credentials with title "User Account Control". How to modify the below code so that it will wait for any of the above windows and send the credentials. While 1
WinWaitActive("Windows Security") ;ANy option to keep or condition logic here
Send($CmdLine[1])
Send("{TAB}")
Send($CmdLine[2])
Send("{ENTER}")
WEnd