http://u.115.com/file/f542efb272
winx.vfd.gz
用 批处理 也可以实现 dos下 窗口的立体效果
winx.awk 用于为窗口 勾画边框,呈现立体效果
涉及软件:
1、带有特显更能和ucmouse的ucdos
2、wbat
3、awk
4、choix
5、ctmouse
使用方法步骤
1.UCDOS 调用汉字系统和特显功能
RD16
KNL
RDFNT
TX
2.鼠标调用
CTMOUSE
UCMOUSE
3.WBAT的使用
WBAT TEXT 2,6 (BLUE ON WHITE) "DAFDSAFDASFDASF"
实现将指定文本内容显示在指定屏幕区域
4.AWK的使用 通过 winx.awk 脚本实现对屏幕指定区域画立体边框
ECHO.|AWK -f winx.awk -v x=2 y=6 h=1 l=15 ok=0
实现把屏幕第2 行第6列开始高度为1行宽度为15字符的区域画一个突起效果的边框
5.choix的使用
choix /c:o /m /n /s
等待用户通过键盘输入“o” 或者通过鼠标在屏幕上点击 字母"o" .唯一比choic 强大的地方就是可以等待用户鼠标点取字母。
Last edited by DXSX on 2010-6-30 at 10:00 ]
http://u.115.com/file/f542efb272
winx.vfd.gz
Batch processing can also achieve a three-dimensional effect of the window under DOS
winx.awk is used to outline the border of the window to present a three-dimensional effect
Involved software:
1. UCDOS with special display function and ucmouse
2. wbat
3. awk
4. choix
5. ctmouse
Usage steps
1. UCDOS calls the Chinese system and special display function
RD16
KNL
RDFNT
TX
2. Mouse call
CTMOUSE
UCMOUSE
3. Use of WBAT
WBAT TEXT 2,6 (BLUE ON WHITE) "DAFDSAFDASFDASF"
Realize to display the specified text content in the specified screen area
4. Use of AWK to draw a three-dimensional border on the specified area of the screen through the winx.awk script
ECHO.|AWK -f winx.awk -v x=2 y=6 h=1 l=15 ok=0
Realize to draw a raised border in the area starting from column 6 of row 2 on the screen with a height of 1 line and a width of 15 characters
5. Use of choix
choix /c:o /m /n /s
Wait for the user to input "o" via the keyboard or click the letter "o" on the screen via the mouse. The only place more powerful than choic is that it can wait for the user to click the letter with the mouse.
Last edited by DXSX on 2010-6-30 at 10:00 ]