标题: [其他] SendMsg - 发送消息和列举窗口 [打印本页]
作者: tireless 时间: 2009-5-2 20:31 标题: SendMsg - 发送消息和列举窗口
官网: http://www.maxoutput.com/SendMsg.html
下载: http://bcn.bathome.net/s/tool/index.html?key=SendMsg- ===============================================================================
- SendMsg v2.1 - Window Message Poster - (c) 2005 Maximum Output Software
- For information about this and other utilities visit www.maxoutput.com
- ===============================================================================
- SendMsg {switches} [SearchStr] {Message} {wParam} {lParam}
-
- Switches:
- /CLASS or /TEXT Search window classnames/titles
- /NOWAIT Post message without waiting for result
- /[IN]VISIBLE Include only [in]visible windows
- /TOP Include only top-level windows
- /PAUSExx Pause xx seconds after sending each message
- /EXAMPLES Show example command lines
-
- SearchStr String to search for. Wildcards ? and * allowed
- SearchStr is NOT case sensitive
- Use "double quotations" if SearchStr contains spaces
- Message Message to send. If omitted, find windows only
- Constants in CONST.TXT [+/- offset] allowed
- wParam wParam parameter. If omitted, use "0" as default
- lParam lParam parameter. If omitted, use "0" as default
复制代码
- Example command lines
-
- SENDMSG /CLASS #32770 WM_NULL+0 0 0
- Sends the WM_NULL+0 message to all windows with class name #32770
-
- SENDMSG "Microsoft Word*" WM_CLOSE
- Sends the WM_CLOSE message to all Microsoft Word* windows
-
- SENDMSG "My Application" WM_USER+50 47 32
- Sends the WM_USER+50 message to My Application window
-
- SENDMSG /TEXT /VISIBLE M*
- List all visible windows with title beginning with M
-
- SENDMSG *
- List all windows
-
- SENDMSG /VISIBLE /TOP *
- 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 |