表体输入某列值:循环的时候总是定位在明细第一行,跳不到第二行去,请看看哪里写错了

王M 5天前 45

dim j=1

dim newprc={"html":{"tagName":"div","attrMap":{"css-selector":"body>div>div>div>div>div>div>div>div>div>table>tbody>tr>td>div","tablecol":"18"},"index":0},"wnd":[{"app":"chrome","cls":"Chrome_WidgetWin_1","title":"*"},{"cls":"Chrome_RenderWidgetHostHWND","title":"Chrome Legacy Window"}]}

For Each value In arrayRet

//newprc["html"]["attrMap"]["tableRow"] = j&""

Mouse.Action(newprc,"left","click",10000,{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200,"bSetForeground":true,"sCursorPosition":"Center","iCursorOffsetX":0,"iCursorOffsetY":0,"sKeyModifiers":[],"sSimulate":"simulate"})
Keyboard.Press("Tab", "press", [],{"iDelayAfter":300,"iDelayBefore":200,"sSimulate":"simulate"})

Keyboard.Input(value[1],{"iDelayAfter":300,"iDelayBefore":200,"sSimulate":"message"})


j=j+1
Next


最新回复 (1)
  • 薇~ 5天前
    2
    选的第一行,所以一直第一行
返回
发新帖