返回列表 发帖

[其他] BeeNotice - 显示文字到屏幕上

BeeNotice Version 1.0.0.2

主页: http://wing4bee.tistory.com/79
下载: http://bcn.bathome.net/s/tool/index.html?key=BeeNotice
BeeNotice is a command line tool that displays a message on the desktop screen for a given time.
I made BeeNotice for script code debugging, but you can use it for any purpose.
BeeNotice supports Unicode.

Usage Sample

BeeNotice.exe /m:"Hello~" /x:200 /y:200

BeeNotice.exe /m:"Hi~\nHello~" /x:200 /y:200 /t:7000 /f:"Arial"
BeeNotice Options
All options are case insensitive.
m : Notice Message
Use "\n" to split lines.
Usage) BeeNotice /m:"Hi~\nHello~"
x : x-coordinate of starting position
y : y-coordinate of starting position
Default) Center of the screen
Usage) BeeNotice /m:"Hello" /x:200 /y:200
f : font name
the typeface name of the font
Default) "Tahoma"
Usage) BeeNotice /m:"Hello" /f:"Arial"
fh : height of font
If this value is zero, default height value is used.
Default) 0
Usage) BeeNotice /m:"Hello" /fh:36
fw : average character width
If this value is zero, "closest match" value is used automatically.
Default) 0
Usage) BeeNotice /m:"Hello" /fw:10
fi : italic attribute option
Specifies an italic font if set to 1.
Value) 0 or 1
Default) 0
Usage) BeeNotice /m:"Hello" /fi:1
fu : underline attribute option
Specifies an underlined font if set to 1.
Value) 0 or 1
Default) 0
Usage) BeeNotice /m:"Hello" /fu:1
fs : strikeout attribute option
Specifies a strikeout font if set to 1.
Value) 0 or 1
Default) 0
Usage) BeeNotice /m:"Hello" /fs:1
ftc : font text color (RGB)
Default) "255 0 0"
Usage) BeeNotice /m:"Hello" /ftc:"0 0 255"
fbc : font background color (RGB)
Default) "255 255 255"
Usage) BeeNotice /m:"Hello" /fbc:"35 255 0"
o : overall opacity value
Value) TRANSPARENT 0 <= o <= 255 OPAQUE
Default) 255
Usage) BeeNotice /m:"Hello" /o:100
a : text alignment mode
Value) 0 LEFT , 1 CENTER , 2 RIGHT
Default) 0
Usage) BeeNotice /m:"Hello" /a:2
t : Display time in milliseconds
Value) 0 <= t <= 4294967295
Default) 3000
Usage) BeeNotice /m:"Hello" /t:5000
wc : window color (RGB)
Default) "255 255 255"
Usage) BeeNotice /m:"Hello" /wc:"0 177 0"
bc : border color (RGB)
Default) "255 255 255"
Usage) BeeNotice /m:"Hello" /bc:"0 123 211"
tc : transparency color (RGB)
Specifies the transparency color.
All pixels painted in this color will be transparent.
Default) "255 255 255"
Usage) BeeNotice /m:"Hello" /tc:"0 255 0"COPY
例:
@echo off
start /b BeeNotice.exe /m:"批处理之家\nhttp://www.bathome.net/" /x:400 /y:200 /f:"Bitstream Vera Sans" /fh:30 /fbc:"0 0 0" /a:1  /t:10000 /ftc:"0 204 0" /wc:"0 0 0" /bc:"0 204 0"COPY
效果:

[attach]1094[/attach]

批处理调用BeeNotice在屏幕上显示指定字符串并滚动显示
http://bbs.bathome.net/thread-56276-1-1.html#pid230852
2

评分人数

    • 101: 感谢分享技术 + 1
    • wxcute: 挺好的东西。PB + 5

嗯,我也会做,得到hdc直接draw就可以了,不过实用性不大。。。
第三方命令行工具编程
Http://Hi.Baidu.Com/Console_App

TOP

好东西 很好玩儿
会找到用的地方的 哈

TOP

用来显示歌词还是不错的,谢谢分享。
批处理之家论坛官方 QQ 群 :【当前人数/人数上限】【2009-07-08】
群①:43011867(181/200);群②:(暂缺数据);群③:66165582(120/200)。

TOP

难道不用常驻?那不是会刷新的嘛...
DEF别那么说嘛...我们用CMD画赛车怎么样?

TOP

@echo off
start /b BeeNotice.exe /m:"批处理之家\nhttp://www.bathome.net/" /x:400 /y:200 /f:"Bitstream Vera Sans" /fh:30 /fbc:"0 0 0" /a:1  /t:10000 /ftc:"0 204 0" /wc:"0 0 0" /bc:"0 204 0"COPY
谢谢分享。

TOP

我想问下那个代码是“BeeNotice   ”是的源代码吗?是用什么语言写的?

TOP

我要BeePhoto! http://www.bathome.net/thread-3981-1-1.html 上面写的怎么是这?
我喜欢那BAT神秘的黑白色调~~

TOP

我要BeePhoto! http://www.bathome.net/thread-3981-1-1.html 上面写的怎么是这?
yuanxiaochen 发表于 2011-7-11 23:22

http://wing4bee.tistory.com/atta ... E4C11B70E01F869.zip

TOP

回复 9# pxz_


    这个想法不错,怎么实现呢?!  举例一下如何?  如果管理看到了,希望可以关注一下先喽。

TOP

请问楼主是用什么语言呢实现的?

TOP

这个好玩,

TOP

回复 1# tireless


    相当给力

TOP

本帖最后由 老刘1号 于 2017-5-22 23:20 编辑

借助这个第三方写的全屏贪吃蛇类游戏——咬文嚼字蛇已经更新到了2.2版本:http://www.bathome.net/thread-43231-1-1.html

TOP

这是什么语言

TOP

返回列表