|
kawakumo
初级用户
 
积分 32
发帖 9
注册 2006-10-30
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
redtek做的就是我想说的效果,感谢。
The effect made by redtek is exactly what I wanted to say, thanks.
|
|
2006-10-31 01:52 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
别感谢我,好玩的动画缺了每一个参与的人都实现不了:)
是kawakumo启发了一个好玩的标题和做个动画的想法;
youxi01的代码和qwe1234567版主代码和一个退格应用;
9527发现了退格符在COPY CON时的问题,
还有3742668版主VBS超级技巧,
我们每一个人的参与和交流,论坛内容会越来越丰富:)
Last edited by redtek on 2006-10-31 at 02:09 AM ]
Don't thank me. A fun animation can't be realized without every participant:)
It was kawakumo who inspired a fun title and the idea of making an animation;
The code of youxi01 and the code of moderator qwe1234567 and a backspace application;
9527 discovered the problem of the backspace character when COPY CON,
And the super VBS skills of moderator 3742668,
With each of our participation and communication, the forum content will be more and more rich:)
Last edited by redtek on 2006-10-31 at 02:09 AM ]
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-31 02:02 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
Originally posted by 9527 at 2006-10-31 01:58:
还是那句话---都是我的错,不应该这么早就下结论............
你要不COPY CON ...
就根本发现不了那个退格符原来COPY con的时候就被实时转换了:)
因为每个人的参与,永远都会起到推动和发现更新知识的作用~:)
Originally posted by 9527 at 2006-10-31 01:58:
Still the same sentence---it's all my fault, I shouldn't have drawn conclusions so early...
If you don't COPY CON...
You won't even find that the backspace character was actually converted in real time when COPY con was used : )
Because everyone's participation will always play a role in promoting and discovering updated knowledge ~ : )
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-31 02:06 |
|
|
kawakumo
初级用户
 
积分 32
发帖 9
注册 2006-10-30
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
测试几次后,这是比较好看的效果
@echo off
setlocal enabledelayedexpansion
set b=/--\--
set 速度=0.8
set 退格=
:b
for /l %%i in (0,1,200) do call :a %%i
goto :b
:a
set/a a=%1%%4
set/p=!b:~%a%,1!<nul
ping/n %速度% 127.1>nul
set/p=%退格%<nul
goto :eof
After several tests, this is a relatively nice effect
@echo off
setlocal enabledelayedexpansion
set b=/--\--
set 速度=0.8
set 退格=
:b
for /l %%i in (0,1,200) do call :a %%i
goto :b
:a
set/a a=%1%%4
set/p=!b:~%a%,1!<nul
ping/n %速度% 127.1>nul
set/p=%退格%<nul
goto :eof
|
|
2006-10-31 02:10 |
|
|
kawakumo
初级用户
 
积分 32
发帖 9
注册 2006-10-30
状态 离线
|
『第 20 楼』:
使用 LLM 解释/回答一下
不知道如何把youxi01的效果和redtek的效果在同一行实现?
Last edited by kawakumo on 2006-10-31 at 04:22 AM ]
I don't know how to implement the effects of youxi01 and redtek in the same line.
Last edited by kawakumo on 2006-10-31 at 04:22 AM ]
|
|
2006-10-31 04:21 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
Originally posted by kawakumo at 2006-10-31 04:21:
不知道如何把youxi01的效果和redtek的效果在同一行实现?
Last edited by kawakumo on 2006-10-31 at 04:22 AM ]
适当的禁止退格的应用,显示出来的字符就会“向前走”了~:)
下面的是一个非常精彩的贴子!可不能让它沉下去啊~:)
里面讲了非常详细的原理和过瘾的内容~:)
无奈何签名代码略析
http://www.cn-dos.net/forum/viewthread.php?tid=18838&fpage=1&highlight=%E6%97%A0%E5%A5%88%E4%BD%95
Originally posted by kawakumo at 2006-10-31 04:21:
I don't know how to implement the effects of youxi01 and redtek in the same line?
Last edited by kawakumo on 2006-10-31 at 04:22 AM ]
Appropriate application of prohibiting backspace will make the displayed characters "move forward" ~ : )
The following is a very wonderful post! It can't be allowed to sink ~ : )
It talks about very detailed principles and enjoyable content ~ : )
Brief Analysis of Helpless Signature Code
http://www.cn-dos.net/forum/viewthread.php?tid=18838&fpage=1&highlight=%E6%97%A0%E5%A5%88%E4%BD%95
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-10-31 05:28 |
|
|
youxi01
高级用户
   
积分 846
发帖 247
注册 2006-10-27 来自 湖南==》广东
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
这个可能是你要的代码:
@echo off
rem qwe1234567 字符动画
setlocal enabledelayedexpansion
set b=\^|/-
set 速度=2
rem ASCII码的08就是退格特殊控制符
set 退格=
:b
for /l %%i in (0,1,3) do call :a %%i
cls
goto :b
:a
set /a num=%1+1
set/p test=!b:~%1,1!!b:~0,%num%!<nul
ping/n %速度% 127.1>nul
set/p=%退格%<nul
goto :eof
This may be the code you need:
@echo off
rem qwe1234567 character animation
setlocal enabledelayedexpansion
set b=\^|/-
set 速度=2
rem The ASCII code 08 is the backspace special control character
set 退格=
:b
for /l %%i in (0,1,3) do call :a %%i
cls
goto :b
:a
set /a num=%1+1
set/p test=!b:~%1,1!!b:~0,%num%!<nul
ping/n %速度% 127.1>nul
set/p=%退格%<nul
goto :eof
|
|
2006-10-31 05:50 |
|
|
kawakumo
初级用户
 
积分 32
发帖 9
注册 2006-10-30
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
不对,我想说的效果如下:
[用*代表翻滚的\-/]
.*
..*
...*
....*
.....*
......*
.......*
每次加一个点是youxi01的效果,翻滚的*是redtek的效果,在同一行实现。
No, what I want to say is as follows:
.*
..*
...*
....*
.....*
......*
.......*
Each time adding a dot is the effect of youxi01, and the rolling * is the effect of redtek, implemented in the same line.
|
|
2006-10-31 14:03 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
|
2006-11-1 00:27 |
|
|
redtek
金牌会员
     
积分 2902
发帖 1147
注册 2006-9-21
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
哈哈……做得真好玩~:)
Haha... It's really fun to make~ : )
|

Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._ |
|
2006-11-1 00:34 |
|
|
newaifi
初级用户
 
积分 154
发帖 67
注册 2006-10-31
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
受益匪浅。
此方法虽然能制造成“动画效果”。。但缺点也显而易见。
那就是速度的控制不能更精准的掌握。
Benefited a lot.
Although this method can create an "animation effect", the disadvantages are also obvious.
That is, the control of speed cannot be more accurately grasped.
|
|
2006-11-1 02:29 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 27 楼』:
使用 LLM 解释/回答一下
要精确的控制速度,即实现延时,可以利用第三方的命令行工具。
这里推荐一个小工具,叫sleepx,它可以精确到ms,即精确到毫秒。
To precisely control the speed, that is, to achieve delay, you can use third-party command-line tools.
Here is a recommended small tool called sleepx, which can be precise to ms, that is, precise to milliseconds.
附件
1: SleepX.rar (2006-11-1 09:19, 18.89 KiB, 下载附件所需积分 1 点
,下载次数: 60)
|
|
2006-11-1 09:19 |
|
|
kawakumo
初级用户
 
积分 32
发帖 9
注册 2006-10-30
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
不错,就是chenall做的这个效果,真厉害。
That's good, it's exactly the effect made by chenall, really amazing.
|
|
2006-11-1 13:54 |
|
|
kawakumo
初级用户
 
积分 32
发帖 9
注册 2006-10-30
状态 离线
|
『第 29 楼』:
使用 LLM 解释/回答一下
如果把这个效果用于表示进度,怎样控制?比如显示复制文件的进度。
If you want to use this effect to represent progress, how to control it? For example, display the progress of copying files.
|
|
2006-11-1 13:58 |
|
|
kawakumo
初级用户
 
积分 32
发帖 9
注册 2006-10-30
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
set b=/-\ /-\ **改成set b=./-\ /-\ **
加一个点后,换行时的效果更好。
Change "set b=/-\ /-\ " to "set b=./-\ /-\ ". Adding a dot makes the effect better when wrapping lines.
|
|
2006-11-1 14:03 |
|