SelectListBoxItem throws exception "Could not interpret line"

  • 7003240
  • 06-Apr-2012
  • 26-Apr-2012


Novell SecureLogin 7 SP2
Upgrade from Novell SecureLogin 6


After the upgrade two windows scripts stopped working with NSL throwing a "could not interpret line" error.


With SecureLogin 6 you could use the command without a control ID. The control was defaulted to id #1 if not present.

In work on 7.0 this implied default was considered broken, there was a change to report that it is broken and allow #ctrl-id and -multiselect to be provided in either order.

SelectListBoxItem <Item text of selection> <#Ctrl-ID> [-multiselect]

<Item text of selection> can be a variable or a string
<#Ctrl-ID> must be provided
To fix the problem you should edit the script and for SelectListBoxItem commands ensure that you specify #1. For example...
6.0 script:
SelectListBoxItem "Find Context"
Type ?SysUser #1
New 7.0 script:
SelectListBoxItem "Find Context" #1


Change in NSL 7 to allow control ID or multiselect parameters to be defined in any order.