按键精灵吧 关注:499,753贴子:1,015,299
  • 1回复贴,共1

求帮改脚本

只看楼主收藏回复

Delay 1000
KeyDown 18, 1
KeyPress 97, 1
KeyUp 18, 1
Delay 1000
KeyPress "F1", 1
Delay 1000
KeyPress "F2", 1
For 2
Delay 3000
KeyDown 18, 1
KeyPress 99, 1
KeyUp 18, 1
For 2
For 10
For 5
KeyPress "Num 1", 1
KeyPress "Num 2", 1
KeyPress "Num 3", 1
KeyPress "Num 4", 1
KeyPress "Num 5", 1
KeyPress "Num 6", 1
KeyPress "Num 7", 1
KeyPress "Num 8", 1
KeyPress "Num 9", 1
KeyPress "Space", 1
Next
Delay 1000
KeyPress "Space", 1
Next
Delay 2000
KeyPress "S", 1
Next
Delay 1000
KeyPress "S", 1
Delay 1000
KeyPress "F1", 1
Delay 1000
KeyPress "F2", 1
Delay 1000
KeyPress "F5", 1
Next
Delay 1000
KeyPress "F3", 1
求大神帮我把这段改成后台脚本


IP属地:黑龙江1楼2015-08-15 17:42回复
    Hwnd = Plugin.Window.MousePoint()
    Delay 1000
    Call Plugin.Bkgnd.KeyDown (Hwnd,18)
    Call Plugin.Bkgnd.KeyPress (Hwnd,97)
    Call Plugin.Bkgnd.KeyUp (Hwnd,18)
    Delay 1000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"F1")
    Delay 1000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"F2")
    For 2
    Delay 3000
    Call Plugin.Bkgnd.KeyDown (Hwnd,18)
    Call Plugin.Bkgnd.KeyPress (Hwnd,99)
    Call Plugin.Bkgnd.KeyUp (Hwnd,18)
    For 2
    For 10
    For 5
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 1")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 2")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 3")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 4")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 5")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 6")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 7")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 8")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Num 9")
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Space")
    Next
    Delay 1000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"Space")
    Next
    Delay 2000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"S")
    Next
    Delay 1000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"S")
    Delay 1000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"F1")
    Delay 1000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"F2")
    Delay 1000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"F5")
    Next
    Delay 1000
    Call Plugin.Bkgnd.KeyPress (Hwnd,"F3")
    我自己写完一点反应都没有


    IP属地:黑龙江2楼2015-08-15 17:43
    回复