|
- Call Plugin.Web.Bind("WQM.exe")
- Call Plugin.Web.Go("http://www.eiafans.com/forum.php")
- x = 10000
- Delay x
- a=3
- Do
- a=a+1
- Call Plugin.Office.OpenXls("C:\Users\admin\Desktop\1.xls")
- Text = Plugin.Office.ReadXls(1, a, 2)
- Call Plugin.Office.CloseXls()
- Call Plugin.Web.HtmlClick("id:ls_username")
- Delay 1000
- Call Plugin.Web.HtmlInput(Text, "id:ls_username")
- Delay 2000
- Call Plugin.Web.HtmlClick("id:ls_password")
- Delay 1000
- Call Plugin.Web.HtmlInput("123456", "id:ls_password")
- Delay 1000
- Call Plugin.Web.HtmlClick("tag:EM&txt:登录")
- Delay x
- Call Plugin.Web.Go("http://www.eiafans.com/forum.php?mod=viewthread&tid=1201629&fromuid=466208")
- Delay x
- Call Plugin.Web.HtmlClick("id:ak_rate")
- Delay x
- Call Plugin.Web.HtmlInput("2", "id:score1")
- Delay x
- Call Plugin.Web.HtmlInput("20","id:score3")
- Delay x
- Call Plugin.Web.HtmlClick("tag:SPAN&txt:确定")
- Delay x
- For i = 1 To 14
- Call Plugin.Web.HtmlClick("tag:A&txt:评分&index:" & i)
- If i = 1 Then
- Delay x
- Call Plugin.Web.HtmlInput("2", "id:score1")
- End If
- If i = 2 Then
- Delay x
- Call Plugin.Web.HtmlInput("1", "id:score1")
- End If
- Delay x
- Call Plugin.Web.HtmlInput("20", "id:score3")
- Delay x
- Call Plugin.Web.HtmlClick("tag:SPAN&txt:确定")
- TracePrint i
- Delay x
- Next
- Call Plugin.Web.HtmlClick("tag:A&txt:退出")
- Delay x
- Call Plugin.Web.HtmlClick("tag:A&txt:首页BBS")
- If a = 9 Then
- ExitScript
- MessageBox "执行完毕"
- End If
- loop
复制代码 |
评分
-
查看全部评分
|