Example: Windows Script The login box is detected. SecureLogin enters the username and password and clicks OK. If the "Incorrect Password" message is detected, SecureLogin tells the user that the password was incorrect and terminates the script. |
Dialog Title "Login Failure" Ctrl #1 EndDialog ReadText #65535 ?ErrorMsg If "Incorrect Password" -In ?ErrorMsg MessageBox "You have entered an incorrect password" EndScript EndIf |