哪個大神幫我寫一下這個小程式
按空格開始
按住ctrl鍵 連續按30次x鍵
按空格結束
uj5u.com熱心網友回復:
代碼如下,太快的話可以適當的添加"wscript.sleep 200":
set shell = createobject("wscript.shell")
shell.sendkeys " ",true
for i=1 to 30
shell.sendkeys "^x",true
next
shell.sendkeys " ",true
uj5u.com熱心網友回復:
可以在游戲后臺運行嗎?
uj5u.com熱心網友回復:
可以,不過如果是持續按ctrl的話,這個腳本可能無法做到;它只能確保按下x的時候,ctrl是被按下的;
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/33376.html
標籤:VB基礎類
上一篇:R在安裝包的時候總是無法打開?
