|
发表于 2008-6-9 04:01:31
|
显示全部楼层
试了很久,只能用MouseClickDrag实现,等待高手.操作对向是迅雷
[au3]If WinExists("迅雷5","") Then
WinActivate("迅雷5","")
Else
MsgBox(0,"","无操作对像.")
Exit
EndIf
$size=WinGetPos("迅雷5", "")
$Hsize=ControlGetPos ("迅雷5", "","[CLASS:SysListView32]")
$x=$size[0]+$Hsize[0]
$y=$size[1]+$hsize[1]
$newX=$size[0]+$Hsize[0]
$newY=$size[1]+$hsize[1]+($Hsize[2]/10)
$OLd=MouseGetPos ()
BlockInput (1)
MouseClickDrag ( "left", $newX, $newY, $newX+10, $newY,0)
MouseMove($OLd[0],$OLd[1],0)
BlockInput (0)
Exit[/au3]
[ 本帖最后由 bing614 于 2008-6-9 04:05 编辑 ] |
|