Board logo

标题: [其他] SendMsg - 发送消息和列举窗口 [打印本页]

作者: tireless    时间: 2009-5-2 20:31     标题: SendMsg - 发送消息和列举窗口

官网: http://www.maxoutput.com/SendMsg.html
下载: http://bcn.bathome.net/s/tool/index.html?key=SendMsg
  1. ===============================================================================
  2.     SendMsg v2.1 - Window Message Poster - (c) 2005 Maximum Output Software
  3.      For information about this and other utilities visit www.maxoutput.com
  4. ===============================================================================
  5. SendMsg {switches} [SearchStr] {Message} {wParam} {lParam}
  6.   Switches:
  7.      /CLASS or /TEXT   Search window classnames/titles
  8.      /NOWAIT       Post message without waiting for result
  9.      /[IN]VISIBLE  Include only [in]visible windows
  10.      /TOP          Include only top-level windows
  11.      /PAUSExx      Pause xx seconds after sending each message
  12.      /EXAMPLES     Show example command lines
  13.   SearchStr   String to search for.  Wildcards ? and * allowed
  14.               SearchStr is NOT case sensitive
  15.               Use "double quotations" if SearchStr contains spaces
  16.   Message     Message to send.  If omitted, find windows only
  17.               Constants in CONST.TXT [+/- offset] allowed
  18.   wParam      wParam parameter.  If omitted, use "0" as default
  19.   lParam      lParam parameter.  If omitted, use "0" as default
复制代码
  1. Example command lines
  2. SENDMSG /CLASS #32770 WM_NULL+0 0 0
  3. Sends the WM_NULL+0 message to all windows with class name #32770
  4. SENDMSG "Microsoft Word*" WM_CLOSE
  5. Sends the WM_CLOSE message to all Microsoft Word* windows
  6. SENDMSG "My Application" WM_USER+50 47 32
  7. Sends the WM_USER+50 message to My Application window
  8. SENDMSG /TEXT /VISIBLE M*
  9. List all visible windows with title beginning with M
  10. SENDMSG *
  11. List all windows
  12. SENDMSG /VISIBLE /TOP *
  13. List all visible top-level windows
复制代码
如要发送消息,CONST.TXT 必须在程序目录,列举窗口不需要 CONST.TXT。
作者: lqh123108    时间: 2014-9-3 17:07

这个可以在局域网中使用发消息?如能,怎么打命令>..
作者: frankchen    时间: 2015-2-19 22:06

看不太懂啊
作者: shootman2    时间: 2015-3-22 21:00

官网:
下载: 如要发送消息,CONST.TXT 必须在程序目录,列举窗口不需要 CONST.TXT。

[ 本帖最后由 tir ...
tireless 发表于 2009-5-2 20:31



    请问,如果用这个工具去刷新任务栏托盘,该如何写命令?




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2