If you press Escape to close a menu without making a choice, the number 27 is returned as the errorlevel to the calling script. The number 13 is returned as the errorlevel if you select the default item, if any, by pressing ENTER. Otherwise, the ASCII value of the uppercase equivalent of the letter used to select the option is returned, or the ASCII value of the number from 1 to 9 if you are using numbered items. Note that if you select the default item by pressing its hotkey, the value corresponding to that hotkey is returned, not 13, which is only returned if ENTER is used to select the item.
Thus the possible errorlevels returned from a wtreqinfo menu are 65 through 90, 49 through 57, 27, 13.
Alt+F4 is ignored during menu display, it does not terminate wtreqinfo.
Page url: http://wtcmanual.wintextware.com/index.html?wtri_menu_return_values.htm