Hello, i want a simple way to pause and resume the execution of a script in rhino. i have read the debugger tutorials but it seems a lot of overhead to me to load a full debugger implementation to pause and resume the script execution.
so, what needs at least to be done? my scenario script: var mydialog = dialog.showInputDialog(message); var value = myDialog.result(); "dialog" is a java object providing methods to display a message in another gui component. in this gui component, a "ok" button click calls a method to retrieve the inputs and write them into the dialog object.. without stopping the script execution, the second line will be executed before the dialog button has been clicked. my first guess was: use modal windows. but this does not work since i want to be able to do stuff in the gui and then click the OK button. so the script has to be paused when the message is shown and resumed when the OK button was clicked. How can this be done with the least effort? thank you in advance, nico -- Nico Krebs Michelangelostraße 1 01217 Dresden web: www.mensch-und-maschine.de mobil: 0162 / 85 89 667 mail: [email protected] skype: k-dottus icq: 324 143 104 fax: 032 12 - 11 39 77 6 twitter: nico_krebs _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
