|
楼主 |
发表于 2011-8-28 12:04:39
|
显示全部楼层
我是想 Do
MouseClick("left", $ckbm, 183, 1) ;供货部门 (选)
WinWait("供货部门")
MouseClick("left", 25, 120, 1) ;供货部门
Sleep(100)
MouseClick("left", $bmlx, 216, 1) ;部门类型
Sleep(100)
MouseClick("left", $lxdd, 249, 1) ;店单类型
WinWait("出库部门")
MouseClick("left", 197, $dy, 1) ;自选单店
MouseClick("left", $cklq, 241, 1) ;选日期
MouseClick("left", $xsyy, 264, 1) ;上一月
Sleep(100)
MouseClick("left", $zhou1, $hang2, 1) ;选上次扎账是期
MouseClick("left", $djcx1, $djcx2, 1) ;点查旬
WinWait("出库验收单统计")
MouseClick("left", 584, 48, 1) ;点打印
WinWait("Microsoft Internet Explorer","打印请谨慎处理")
ControlClick("Microsoft Internet Explorer","打印请谨慎处理","Button1")
WinWait("打印","选择打印机")
Send("!p")
$dy = $dy + 25
Switch $dy
Case 145
$dy = $dy + 25
Case 220
$dy = $dy + 25
Case 395
$dy = $dy + 25
Case 620
$dy = $dy + 50
Case 145
$dy = $dy + 25
Case 145
$dy = $dy + 25
EndSwitch
Sleep(2000)
Until $dy = 845
MouseClick("left", 197, $dy, 1) ;自选单店 (我是想知道这个点击的接链文字是什么,网页以打开,坐标也是对的,就是想知道坐标链接的文字) |
|