Delay 3000
//得到鼠标指向的窗口句柄
Hwnd = Plugin.Window.MousePoint()
Delay 500
For 20
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 40000
Next
For 20
Call Plugin.Bkgnd.KeyPress(Hwnd, 50)
Delay 40000
Next
For 20
Call Plugin.Bkgnd.KeyPress(Hwnd, 51)
Delay 40000
Next
For 20
Call Plugin.Bkgnd.KeyPress(Hwnd, 52)
Delay 40000
Next
For 20
Call Plugin.Bkgnd.KeyPress(Hwnd, 53)
Delay 40000
Next
For 20
Call Plugin.Bkgnd.KeyPress(Hwnd, 54)
Delay 40000
Next