QQ向陌生人聊天的autoit脚本

ExpandedBlockStart.gif View Code
 1  #include  < GUIConstants.au3 >  
 2  #include  < Process.au3 >  
 3  Global $GUIWidth 
 4  Global $GUIHeight 
 5  $GUIWidth  =   160  
 6  $GUIHeight  =   100  
 7  $maingui  =  GUICreate( " 与陌生QQ联络 " ,$GUIWidth, $GUIHeight) 
 8  $Status  =  GUICtrlCreateLabel( " Nothing to Undo " 0 67 160 14 , BitOR($SS_SUNKEN, $SS_CENTER)) 
 9  GUICtrlSetData($Status,  " 脚本之家-QQ联络陌生人 " , " 1111 "
10  $helpmenu  =  GuiCtrlCreateMenu ( " 菜单[&F] "
11  $aboutitem  =  GuiCtrlCreateMenuitem ( " 关于[&A] " ,$helpmenu) 
12  $separator1  =  GuiCtrlCreateMenuitem ( "" ,$helpmenu) 
13  $exititem  =  GuiCtrlCreateMenuitem ( " 退出[&X] " ,$helpmenu) 
14 
15  $okbutton  =  GuiCtrlCreateButton ( " 对话 " , 20 , 35 , 50 , 20
16  $cancelbutton  =  GuiCtrlCreateButton ( " 退出 " , 90 , 35 , 50 , 20
17 
18  GuiSetState() 
19 
20  GUICtrlCreateLabel ( " 对方QQ: " 20 10
21  $QQ  =  GUICtrlCreateInput ( " 461478385 " , 70 , 7 , 70 , 20
22  GUICtrlSetTip( - 1 , " 输入对方的QQ号码 "
23  GUICtrlSetLimit

转载于:https://www.cnblogs.com/gredswsh/archive/2011/06/02/autoit_qq_chat.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值