[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[其他] 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"
  1. BeeNotice Options
  2. All options are case insensitive.
  3. m : Notice Message
  4. Use "\n" to split lines.
  5. Usage) BeeNotice /m:"Hi~\nHello~"
  6. x : x-coordinate of starting position
  7. y : y-coordinate of starting position
  8. Default) Center of the screen
  9. Usage) BeeNotice /m:"Hello" /x:200 /y:200
  10. f : font name
  11. the typeface name of the font
  12. Default) "Tahoma"
  13. Usage) BeeNotice /m:"Hello" /f:"Arial"
  14. fh : height of font
  15. If this value is zero, default height value is used.
  16. Default) 0
  17. Usage) BeeNotice /m:"Hello" /fh:36
  18. fw : average character width
  19. If this value is zero, "closest match" value is used automatically.
  20. Default) 0
  21. Usage) BeeNotice /m:"Hello" /fw:10
  22. fi : italic attribute option
  23. Specifies an italic font if set to 1.
  24. Value) 0 or 1
  25. Default) 0
  26. Usage) BeeNotice /m:"Hello" /fi:1
  27. fu : underline attribute option
  28. Specifies an underlined font if set to 1.
  29. Value) 0 or 1
  30. Default) 0
  31. Usage) BeeNotice /m:"Hello" /fu:1
  32. fs : strikeout attribute option
  33. Specifies a strikeout font if set to 1.
  34. Value) 0 or 1
  35. Default) 0
  36. Usage) BeeNotice /m:"Hello" /fs:1
  37. ftc : font text color (RGB)
  38. Default) "255 0 0"
  39. Usage) BeeNotice /m:"Hello" /ftc:"0 0 255"
  40. fbc : font background color (RGB)
  41. Default) "255 255 255"
  42. Usage) BeeNotice /m:"Hello" /fbc:"35 255 0"
  43. o : overall opacity value
  44. Value) TRANSPARENT 0 <= o <= 255 OPAQUE
  45. Default) 255
  46. Usage) BeeNotice /m:"Hello" /o:100
  47. a : text alignment mode
  48. Value) 0 LEFT , 1 CENTER , 2 RIGHT
  49. Default) 0
  50. Usage) BeeNotice /m:"Hello" /a:2
  51. t : Display time in milliseconds
  52. Value) 0 <= t <= 4294967295
  53. Default) 3000
  54. Usage) BeeNotice /m:"Hello" /t:5000
  55. wc : window color (RGB)
  56. Default) "255 255 255"
  57. Usage) BeeNotice /m:"Hello" /wc:"0 177 0"
  58. bc : border color (RGB)
  59. Default) "255 255 255"
  60. Usage) BeeNotice /m:"Hello" /bc:"0 123 211"
  61. tc : transparency color (RGB)
  62. Specifies the transparency color.
  63. All pixels painted in this color will be transparent.
  64. Default) "255 255 255"
  65. Usage) BeeNotice /m:"Hello" /tc:"0 255 0"
复制代码
例:
  1. @echo off
  2. 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"
复制代码
效果:



批处理调用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

  1. @echo off
  2. 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"
复制代码
谢谢分享。

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

返回列表