Sign in to follow this  
Followers 0
HØLLØW

Blinking text in batch-file

20 posts in this topic

yeah but the text will blink so so what jaclaz

No, the text won't "blink" THE WHOLE page will disappear (CLS) and then re-appear (ECHO) (and thus ALL the text on the page will appear to blink).

If you had actually READ the OP question it is about "managing" SINGLE lines and NOT the whole screen and he actually excluded in his post the use of CLS.

So you posted TWICE the same thing, BOTH times answering *another thing* from what was originally asked.

Check this page:

http://www.robvanderwoude.com/ansi.php

(already provided) if you scroll a bit down it you will see an example of ANSI <Esc>[5m under DOS.

jaclaz

0

Share this post


Link to post
Share on other sites

The dos blinking isn't cleaning the window and rewrite it entirely and that's what wanted the OP in recent windows and this was already clearly explained 3 years ago.

Edit: Jaclaz already answered more precisely.

Edited by allen2
0

Share this post


Link to post
Share on other sites

Did anyone actually take a look at the example I provided?

it provided a method of changing text on a line without clearing the screen

0

Share this post


Link to post
Share on other sites

Indeed your code is a better approach of a replacement of the dos blinking escape code but it is still far too complex to be used easily in any script.

0

Share this post


Link to post
Share on other sites

It's not terribly difficult, allen2. Of course it will only work on the last output line. And, as written, only for a limited amount of time.

Clever way to get a carriage return, BTW. ;)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.