Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AutoIt script to export QQ remote message log
Local $hWnd = WinGetHandle("[CLASS:TXGuiFoundation; TITLE:qqgroup]", "")
Local $editWnd = WinGetHandle("EditPlus", "")
$i=1
While $i<=200
WinActivate($hWnd)
Local $aPos = WinGetPos("[ACTIVE]")
MouseClick("left", $aPos[0] + $aPos[2] - 52, $aPos[1] + $aPos[3] - 18)
Sleep(100)
$i=$i+1
WEnd
$i=1
While $i<=100
WinActivate($hWnd)
Local $aPos = WinGetPos("[ACTIVE]")
MouseClick("left", $aPos[0] + $aPos[2] - 52, $aPos[1] + $aPos[3] - 18)
Sleep(5000)
Send("^a")
Send("^c")
WinActivate($editWnd)
Sleep(500)
Send("^v")
Send("{ENTER}")
Sleep(500)
$i=$i+1
WEnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.