#include <AutoItConstants.au3>
#include <MsgBoxConstants.au3>
Global Const $USERIP = "192.168.192.1:40719"
;Local Const $USERIP = "192.168.192.1:52308"
;Local Const $USERIP = "192.168.121.130:48781"
Global Const $TIMES = 100100
Global Const $dlPath = "W:\TEMP"
Global $torrentX, $torrentY
Main()
Func Main()
Sleep(3000)
Local $hWnd = WinGetHandle("μTorrent 3.5.5 (build 45852) [32-bit]")
If @error Then
MsgBox($MB_SYSTEMMODAL, "", "An error occurred when trying to retrieve the window handle")
Exit
EndIf
Local $mainwndPos = WinGetPos($hWnd)
Local $ctrlPos = ControlGetPos($hWnd,"","[CLASS:ReBarWindow32]")
If @error Then
MsgBox($MB_SYSTEMMODAL, "", "An error from ControlGetPos")
Exit
EndIf
$torrentX = $mainwndPos[0] + $ctrlPos[0] + 20
$torrentY = $mainwndPos[1] + $ctrlPos[1]
uTorrent刷上传量
最新推荐文章于 2023-11-13 17:06:58 发布