Simple Title animation with CR

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
einstein1969
Expert
Posts: 961
Joined: 15 Jun 2012 13:16
Location: Italy, Rome

Simple Title animation with CR

#1 Post by einstein1969 » 27 Nov 2015 17:09

Hi,

This work on my windows seven without aero.

Code: Select all

@echo off
setlocal EnableDelayedExpansion

for /f %%A in ('copy /Z "%~dpf0" nul') do set "CR=%%A"

For /L %%? in () do (
  Title _______
  Call :Wait
  Title ÄÄÄ
  Call :Wait
  Title _______!CR!
  call :Wait
  Title îîîîîîî
  Call :Wait
  Title ÄÄÄ!CR!
  call :Wait
  Title _______!CR!!CR!
  call :Wait
  Title îîîîîîî!CR!
  call :Wait
  Title ÄÄÄ!CR!!CR!
  call :Wait

  Title îîîîîîî!CR!
  call :Wait
  Title _______!CR!!CR!
  call :Wait
  Title ÄÄÄ!CR!
  call :Wait
  Title îîîîîîî
  Call :Wait
  Title _______!CR!
  call :Wait
  Title ÄÄÄ
  Call :Wait

)

pause
exit /b

  Title __ÄÄîî 1

:Wait
rem  ping -n 2 localhost >nul
  for /L %%I in (1,1,20000) do rem
exit/b


Einstein1969

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Simple Title animation with CR

#2 Post by foxidrive » 27 Nov 2015 22:00

This is in Win 8.1 with the delay increased from 20000 to 220000 - I'm not sure what it was meant to appear like, but my 8 core cpu seemed to make it too quick with the default delay.

http://astronomy.comoj.com/dostips/titl ... mation.wmv

The pale blue colour appears when I focus the window (some players don't set the right aspect ratio in this video).

einstein1969
Expert
Posts: 961
Joined: 15 Jun 2012 13:16
Location: Italy, Rome

Re: Simple Title animation with CR

#3 Post by einstein1969 » 29 Nov 2015 13:06

Ok, seem don't work on windows 8.1.
The animation on windows 7 is different :( .

Thanks foxidrive.

einstein1969
Expert
Posts: 961
Joined: 15 Jun 2012 13:16
Location: Italy, Rome

Re: Simple Title animation with CR

#4 Post by einstein1969 » 01 Dec 2015 05:14

Hi,

This is the video that show how this work.

https://www.youtube.com/watch?v=_HsXnvn ... e=youtu.be

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Simple Title animation with CR

#5 Post by foxidrive » 02 Dec 2015 17:24

Thanks einstein. Maybe the font being used is part of the magic - my font may be wrong.

Post Reply