[General]
Description=Q7调用例子
BeginHotkey=121
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=1
EnableWindow=
Enable=1
AutoRun=0
[Repeat]
Type=0
Number=1
[Relative]
SetupOCXFile=
[Comment]
Content=

[Script]
// 帐号注册 www.3QDaTi.com
// QQ交流群 222844761
// 提醒: 发布小精灵时别忘了把插件加入附件
// ==================================================
Gosub QQQ远程答题
// ==================================================
EndScript 
// ==================================================
Sub QQQ远程答题
    TID = "-88"
    While (len(TID)<10)
        
        Plugin TID = QQQDaTi.SendImage("2|F7D635C4-B2A2-4AB6-B7CF-EE87F4F64F29", 2000,  intX, intY, 300, 200, 300)
	//Plugin TID = QQQDaTi.SendFile("2|F7D635C4-B2A2-4AB6-B7CF-EE87F4F64F29", 1001, "图片路径", 300)	
        TracePrint TID
        Delay 1500
    EndWhile 
    Answer = "-99"
    While Answer = "-99"
        Plugin Answer = QQQDaTi.GetAnswer(TID)
        TracePrint Answer
        Delay 2500
    EndWhile 
    MsgBox "收到答案: " & Answer
Return QQQ远程答题
