test/manually/formAndPauseForm.praat
raw| 1 | # |
| 2 | # This script should be added to the Praat menu or so using "Add to fixed menu". |
| 3 | # It tests whether a script that has been added as a menu command (e.g. by a plug-in) |
| 4 | # can have both an initial input form and a pause form. |
| 5 | # |
| 6 | |
| 7 | form: "Form and pause form" |
| 8 | natural: "Count", "3" |
| 9 | endform |
| 10 | |
| 11 | for try to count |
| 12 | |
| 13 | beginPause: "Pausing..." |
| 14 | natural: "Number", 1 |
| 15 | endPause: "OK", 1 |
| 16 | |
| 17 | appendInfoLine: number |
| 18 | |
| 19 | endfor |