- (VBScript语句) dim m,n,x,z,e,c,c1,a,b,rect,q
- dim fileHandle
- set TiShiObj = createobject("WScript.Shell")
- //=================== 主程序 ======================
- //创建一个文件名为
- fileHandle ="c:\log.txt"
- 调用插件命令 q=File.ReadFileEx("c:\log.txt")
- //在c盘的文件log.txt中输入喊话内容
- 在调试状态下向调试窗口输出 q
- m=8000
- n=1000
- x=8000
- z=200
- 调用插件命令 b=Window.Find(0,"浪漫庄园")
- 调用插件命令 WindowEx2.SetWindowSize(b,1152,834)
- 调用插件命令 Window.Move(b,0,0)
- 延时1000毫秒
- 调用插件命令 Window.Move(b,1000,-2000)
- 在调试状态下向调试窗口输出 b
- 调用插件命令 b=Window.FindEx(b,0,0,0)
- 在调试状态下向调试窗口输出 b
- 标记 1
- e="city0"
- c="town"
- c1="town0"
- a=0
- 循环 3 遍
- a=a+1
- d=e&a
- 在调试状态下向调试窗口输出 d
- 调用插件命令 Bkgnd.LeftClick(b,65,709)
- 延时z毫秒
- 调用插件命令 Bkgnd.SendString(b,d)
- 延时z毫秒
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 延时m毫秒
- //***********************************
- 调用插件命令 Bkgnd.LeftClick(b,290,822)
- 延时z毫秒
- //***********************************
- 调用插件命令 Bkgnd.SendString(b,q&a)
- 延时n毫秒
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 延时x毫秒
- //***********************************
- 调用插件命令 Bkgnd.LeftClick(b,290,822)
- 延时x毫秒
- //***********************************
- 延时z毫秒
- 调用插件命令 Bkgnd.SendString(b,q&a)
- 延时n毫秒
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 延时x毫秒
- //***********************************
- 循环结束
- a=0
- 循环 9 遍
- a=a+1
- d=c1&a
- 在调试状态下向调试窗口输出 d
- 调用插件命令 Bkgnd.LeftClick(b,65,709)
- 延时z毫秒
- 调用插件命令 Bkgnd.SendString(b,d)
- 延时n毫秒
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 延时m毫秒
- //***********************************
- 调用插件命令 Bkgnd.LeftClick(b,290,822)
- 延时z毫秒
- 调用插件命令 Bkgnd.SendString(b,q&a)
- 延时n毫秒
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 延时x毫秒
- //***********************************
- 调用插件命令 Bkgnd.LeftClick(b,290,822)
- 延时x毫秒
- //***********************************
- 延时z毫秒
- 调用插件命令 Bkgnd.SendString(b,q&a)
- 延时n毫秒
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 延时x毫秒
- //***********************************
- 循环结束
- 循环 27 遍
- a=a+1
- d=c&a
- 在调试状态下向调试窗口输出 d
- 调用插件命令 Bkgnd.LeftClick(b,65,709)
- 延时z毫秒
- 调用插件命令 Bkgnd.SendString(b,d)
- 延时n毫秒
- 调用插件命令 Bkgnd.KeyPress(b,13)
- 延时m毫秒
- //***********************************
- 调用插件命令 Bkgnd.LeftClick(b,290,822)
- 延时z毫秒
- 调用插件命令 Bkgnd.SendString(b,q&a)