====================
The major part of the Dialog portion of the script is the following:
===========================
Label>Proceed
Let>DefaultAction=Log Off
Let>WindowsExit.Action=%DefaultAction%
Let>DefaultReason=Normal-end of work
Let>WindowsExit.Reason=%DefaultAction%
Let>DefaultOther=
Dialog>WindowsExit
Caption=Shut Down Windows
Top=144
Width=315
Left=312
Height=230
Label=What do you want the computer to do?,56,16
Label=%ComboHelp%,34,72
Label=Reason:,21,112
Label=Enter Other Reason / optional Note,125,112
Button=OK,28,160,75,25,1
Button=Cancel,120,160,75,25,2
Button=Help,212,160,75,25,3
ComboBox=Action,82,40,145,%DefaultAction%%CRLF%Re Boot%CRLF%Shut Down
ComboBox=Reason,8,128,121,%DefaultReason%%CRLF%Low Resources%CRLF%Problem noted here:%CRLF%Required by System%CRLF%Software Change%CRLF%System is hung%CRLF%Testing%CRLF%See Other Reason:
Edit=Other,136,128,164,%DefaultOther%
EndDialog>WindowsExit
//Prompt User to select method of Shutdown
Label>ShowWindow
Show>WindowsExit,Button
It looks like the processing sequence may have changed because in version 032 I see BUTTON=1 happens before WINDOWS.EXIT.OTHER is calculated. In version 033 I see all these WINDOSW.EXIT.MSxxx items calculated before the BUTTON=1 happens. Note everything above DOW=Friday (reference to version 032 is the data that was typed into the Edit box).
Here is part of a snapshot of the watchlist in version in version 032
This is a snapshot of the same script watchlist run in version 033WINDOWS.EXIT.OTHER=version 032
BUTTON=1
DOW=Friday
=============================BUTTON=1
WINDOWS.EXIT.OTHER=
WINDOWS.EXIT.MSBUTTON6=Help
WINDOWS.EXIT.MSBUTTON5=Cancel
WINDOWS.EXIT.MSBUTTON4=OK
WINDOWS.EXIT.MSLABEL3=Enter Other Reason / optional Note
WINDOWS.EXIT.MSLABEL2=Reason:
WINDOWS.EXIT.MSLABEL1=Log Off allows Log on as a new user.%CRLF%Shut Down turns off power.%CRLF%Re Boot restarts computer
WINDOWS.EXIT.MSLABEL0=What do you want the computer to do?
DOW=Friday
I have conditional programming based on WINDOWS.EXIT.OTHER which no longer works. In 032 I get back the value entered into the Edit box. In 033 the value entered into the Edit box is lost.