|
From: Suresh G. <sgo...@ya...> - 2007-09-21 02:31:48
|
Hello,
The following command
pause -1 "Show this message"
puts up a dialog box with buttons named OK and Cancel.
I would like to branch based on whether the user pressed
on OK or Cancel. Can this be done and, if so, how?
(Help shows the use of "pause mouse key" followed by
checking for MOUSE_KEY, but I would like to use "pause -1 ["<msg>"]
and check for press of the OK or Cancel button.)
Thanks,
--Suresh
|