[General]
SyntaxVersion=2
BeginHotkey=121
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=1
EnableWindow=
MacroID=03e8de86-2e5b-4aae-addf-4708e6e89926
Description=Q8调用例子
Enable=1
AutoRun=0
[Repeat]
Type=0
Number=1
[Relative]
SetupOCXFile=
[Comment]

[Script]
// 帐号注册 www.3qdati.com
// QQ交流群 222844761

// 提醒: 发布小精灵时别忘了把插件加入附件
// ==================================================
MsgBox "收到答案: " & QQQ远程答题(0,0)
// ==================================================
Function QQQ远程答题(intX,intY)
    // intX,intY = 截图起点
    TID = "-99"
    While (len(TID)<10)
         
        TID = Plugin.QQQDaTi.SendImage("2|F7D635C4-B2A2-4AB6-B7CF-EE87F4F64F29", 2000,  intX, intY, 300, 200, 300)
	//TID = Plugin.QQQDaTi.SendFile("2|F7D635C4-B2A2-4AB6-B7CF-EE87F4F64F29", 2000, "图片路径", 300)
        TracePrint TID
        Delay 1500
    Wend
    Answer = "-99"
    While Answer = "-99"
        Answer = Plugin.QQQDaTi.GetAnswer(TID)
        TracePrint Answer
        Delay 2500
    EndWhile        
    QQQ远程答题 = Answer
End Function
