QQ向陌生人聊天的autoit脚本

发布时间:2022-04-19 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了QQ向陌生人聊天的autoit脚本脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
复制代码 代码如下:

#include&nbsp;<GUIConstants.au3>
#include <PRocess.au3>
Global $GUIWidth
Global $GUIHeight
$GUIWidth = 160
$GUIHeight = 100
$maingui = GUICreate("与陌生QQ联络",$GUIWidth, $GUIHeight)
$status = GUICtrlCreateLabel("Nothing to Undo", 0, 67, 160, 14, BITOR($SS_SUNKEN, $SS_center))
GUICtrlSetData($Status, "脚本宝典-QQ联络陌生人","1111")
$helpmenu = GuiCtrlCreateMenu ("菜单[&amp;F]")
$aboutitem = GuiCtrlCreateMenuitem ("关于[&A]",$helpmenu)
$separator1 = GuiCtrlCreateMenuitem ("",$helpmenu)
$exititem = GuiCtrlCreateMenuitem ("退出[&X]",$helpmenu)

$okbutton = GuiCtrlCreateButton ("对话",20,35,50,20)
$cancelbutton = GuiCtrlCreateButton ("退出",90,35,50,20)

GuiSetState()

GUICtrlCreateLabel ("对方QQ:",   20, 10)
$QQ = GUICtrlCreateInput ("461478385",70,7,70,20)
GUICtrlSetTip(-1,"输入对方的QQ号码")
GUICtrlSetLimit($QQ, 10, 5)

While 1
        $msg = GUIGetMsg()
        Select
                Case $msg = $GUI_EVENT_CLOSE Or $msg = $cancelbutton
                        ExitLoop

                Case $msg = $exititem
                        ExitLoop

                Case $msg = $okbutton
                        $rc = _RunDOS("explorer.exe " &chr("34")& "tencent://Message/?menu=yes&exe=&uin=" & GUICtrlRead($QQ) & "&websiteName=未知区域" &chr("34")& "")
                        Case $msg = $aboutitem
                        ;msgBox(32, "脚本宝典","脚本宝典 www.js-code.COM 欢迎你")
        EndSelect
WEnd
GUIDelete()
Exit

保存为qq.au3,运行前你必须保证你的脑有autoit3的程序,具体下载地址
上一篇文章
autoit在线手册

脚本宝典总结

以上是脚本宝典为你收集整理的QQ向陌生人聊天的autoit脚本全部内容,希望文章能够帮你解决QQ向陌生人聊天的autoit脚本所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签:QQQQ