通过命令行发送信息、图片、文件接口(feiq.exe(指定飞秋所在的路径) \msg:*.xml)
*.xml是位于
飞秋工作目录下ParamFile文件夹的路径下的一个xml文件,由第三方程序来创建和写内容,内容包含要发送用户的IP或MAC,要发送的文字或图片信息,要发送的文件。格式如下:
<?xml version="1.0" encoding="gb2312" ?>
<msg sendip="IP1;IP2;IP3..." sendmac="MAC
1;MAC2... " showui="false或true" waitonlinesend=
"false或true"
errortip="false或true">
<item type="text">要发送的消息文字内容</item>
<item type="pic">
要发送的消息图片内容</item>
<item type="file">
要发送的文件路径 </item>
...上者三个类型可以多个
</msg>
sendip属性表示要发送的IP,可以多个IP
sendmac
属性表示要发送的mac,可以多个
mac
showui
属性表示是否弹出用户选择和发送的界面,如果不确定发给哪个用户,可以把此参数设置成true
waitonlinesend
属性表示是否等用户在线时才发送,设置成true表示是用户在线时才自动发送,默认是false
errortip
属性如果格式错误,是否弹出错误或发送失败的对话框
type="
text" 表示要发送的消息文字内容
type="
pic" 表示
发送的消息图片内容
type="
file" 表示
要发送的文件路径
例子如下:
<?xml version="1.0" encoding="gb2312" ?>
<msg sendip="192.168.1.103;192.168.1.100" sendmac="001B778543BB
" showui="false" errortip="false">
<item type="text">abc</item>
<item type="pic">C:\Users\lbt\Desktop\1.bmp</item>
<item type="text">您好</item>
<item type="pic">C:\Users\lbt\Desktop\qunmsgset.png</item>
<item type="file">C:\Users\lbt\Desktop\2.txt</item>
<item type="pic">C:\Users\lbt\Desktop\feiq.gif</item>
<item type="file">C:\Users\lbt\Desktop\3.txt</item>
</msg>
