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"
复制代码 例:- @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"
复制代码 效果:
[attach]1094[/attach]
批处理调用BeeNotice在屏幕上显示指定字符串并滚动显示
http://bbs.bathome.net/thread-56276-1-1.html#pid230852 |