Hedonist wrote:
Now I can't get the scripts to retrieve the variable entered at a InputBox prompt. It works fine in Windows XP but again it won't work in Windows CE 5.0
Code:
Inputbox,grid,Grid Location?,Scan or type rack location., ,200,180,,,,
if ErrorLevel
MsgBox, CANCEL was pressed.
else
MsgBox, You entered %grid%
I PM'd you but here is a work around:
Code:
#SingleInstance ,Force
Gosub , GUIGrid
Gosub , GuiRack
Return
GuiGrid:
Gui, 1:Add, Text, x26 y10 w140 h70 , Scan or type rack location.
Gui, 1:Add, Edit, x26 y90 w100 h20 vGrid,
Gui, 1:Add, Button, x26 y150 w40 h20 gNext, Next
Gui, 1:Add, Button, x86 y150 w40 h20 gCancel, Cancel
Gui, 1:Show, h200 w200, Grid Location?
Return
Next:
Gui, 1:Submit, NoHide
Gui ,1:Destroy
MsgBox, You entered: %Grid%
Return
Cancel:
MsgBox, CANCEL was pressed.
ExitApp
Return
GuiRack:
WinWaitClose ,Grid Location?
Gui, 2:Add, Text, x6 y10 h20 w100 vGridLoc, Grid Loc: %Grid%
Gui, 2:Add, Button, x21 y190 w100 h20 gCancel, Cancel App
Gui, 2:Show,,Done
Return
Tested on Axim x51v