Error -199 enabling Advanced Generic Emulator

  • 7940098
  • 19-Aug-2009
  • 26-Apr-2012

Environment

SecureLogin
SecureLogin SSO
All Versions
MS AD, LDAP, NT4, Citrix, Terminal Services

Situation

User SSO enabled an Advanced Generic Terminal Emulator and received -199 errors when it starts up and the application definition runs.

Resolution

Cause

When an SSO enabled application starts, SecureLogin detects this and the parser reads the relevant script to determine what messages, text, dialog boxes etc. it must ""watch"" for.

User was using ReadText to read text off the screen and execute commands. However, ReadText is not supported in Advanced Generic emulators.

Solution

Instead of using ReadText use the command If -Text.

If -Text ""Text to search for""ExecuteThisLine ExecuteThisLine ExecuteThisLine ExecuteThisLine EndIf