Get the string at the specified index from a list box. The string is stored in an environment variable called LBTEXT.
LBTEXT dlg_id id index
dlg_id Specifies the identifier of the dialog box that contains the list box. id Specifies the identifier of the list box. index Specifies the index of a string to retrieve.
Indexes are zero based, that is, the first string in the list box is at index 0, the second string is at index 1 and so on.