Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
A customer would like to issue a R(ead) from a script script and then follow this with some other command; for example: WP {RETURN} R {RETURN} EM What happens is that the read executes for the first page but immediately executes the following command and doesn't wait for the user to complete the read. I tried also nesting a second script script with just e read but this does the same thing. Is there a way of doing what she wants? Thanks, Cb.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3298.1 | How to do it | SCOTTC::MARSHALL | Spitfire Drivers Do It Topless | Mon Sep 20 1993 18:30 | 16 |
The reason this doesn't work is that a script-script supplies all the input that ALL-IN-1 is looking for; ALL-IN-1 doesn't wait for keyboard input when executing a script-script. So what happens when you start the "R"ead operation is that ALL-IN-1 displays the first screen, then it needs some input to know what to do next. Because you're executing a script-script, ALL-IN-1 looks in the script for the input, not the keyboard. So it treats the next line in the script ("EM" in your case) as the action to be performed after displaying the first screen of the Read. You could try something like: .FX XOP OA$_MO_READ in place of your "R" line. This seems to work for me on V3.mumble Scott |