Subj : Write
To : DesotoFireflite
From : Digital Man
Date : Sat Mar 26 2022 04:50 pm
Re: Write
By: DesotoFireflite to Digital Man on Sat Mar 26 2022 05:34 pm
> Re: Write
> By: Digital Man to DesotoFireflite on Sat Mar 26 2022 12:18 pm
>
> DM> Re: Write
> DM> By: DesotoFireflite to All on Sat Mar 26 2022 02:10 pm
>
> >> Is there a way to use the "write" command in js without it using a
> >> pause. All I want to do is display a one line comment momentarly
> >> without the user having to hit enter. Thanks in advance.
>
> DM> I'm not clear what you're asking. Is the screen clearing immediately
> DM> after or something happening to the text ("comment") your displaying to
> DM> the user with write()?
>
> Everytime I call write, it will display the line, then the pause prompt will
> follow.
Most likely, that pause prompt is *not* because of the write() call but rather because your script has stopped executing and the user is returning to a menu that is displaying a menu with a clear-screen sequence or you script has a clear-screen sequence in (e.g. console.clear()) or is displaying a file that has a clear-screen sequence in it. The write() isn't the issue here.
> I want it so no user activity is required, just show the message. I
> might us mswait to make it stay there on the screen for a few seconds.
>
> write("\r\n\1h\1rNumber Pad Required!\r\n\r\n");
And then what happens after that? It's *that* that is causing the screen pause.
--
digital man (rob)
Breaking Bad quote #16:
Thinking Operation Breath Mint evertime you and me are on a stakeout together.
Norco, CA WX: 78.1�F, 39.0% humidity, 11 mph SSE wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net