求个用按键精灵后台不停按E键的脚本的源文件

2025-01-07 20:22:30
推荐回答(1个)
回答1:

PutAttachment "D:\dm", "*.*"
set ws=createobject("Wscript.Shell")
ws.run "regsvr32 d:\dm\dm.dll /s"
Set ws = nothing
Delay 1200
Set dm = createobject("dm.dmsoft")
hwnd = dm.GetMousePointWindow()
dm_ret = dm.BindWindow(hwnd,"dx","windows","windows",1)
Do
Delay 300
dm.KeyPress 69
Loop
Sub OnScriptExit()
dm_ret = dm.UnBindWindow()
End Sub
大漠的