|
From: <HBB...@t-...> - 2007-09-21 19:44:27
|
Suresh Govindachar wrote: > Hello, > > The following command > > pause -1 "Show this message" > > puts up a dialog box with buttons named OK and Cancel. ... on MS Windows. Other platforms handle it differently. > I would like to branch based on whether the user pressed > on OK or Cancel. That won't work. If "pause -1" is in a script, and the user pressed 'Cancel', the script is terminated. You wouldn't reach that branch to decide anything. > Can this be done and, if so, how? That's what "pause mouse" is for, so use it. |