http://tw.knowledge.yahoo.com/question/question?qid=1508092604135
我想設定成
1.每30秒按一次空白鍵
2.每600秒按一次Y和H
3.每600秒到605秒按三次B
4.每605秒到610秒按三次V
5.每610秒到615秒按三次Z
提供按鍵精靈6.71版,範例腳本參考:
// 取得時間
runTime=time
Rem start
Delay 1000
TimeVar=DateDiff("s",runTime,time)
// 每30秒按一次空白鍵
If TimeVar mod 30=0
KeyPress 32,1
EndIf
// 每600秒按一次Y和H
If TimeVar mod 600=0
KeyPress 89,1
KeyPress 72,1
EndIf
// 每600秒到605秒按三次B
If TimeVar mod 600=0
For 3
KeyPress 66,1
Delay 1500
EndFor
EndIf
// 每605秒到610秒按三次V
If TimeVar mod 605=0
For 3
KeyPress 86,1
Delay 1500
EndFor
EndIf
// 每610秒到615秒按三次Z
If TimeVar mod 610=0
For 3
KeyPress 90,1
Delay 1500
EndFor
EndIf
Goto start
我想設定成
1.每30秒按一次空白鍵
2.每600秒按一次Y和H
3.每600秒到605秒按三次B
4.每605秒到610秒按三次V
5.每610秒到615秒按三次Z
提供按鍵精靈6.71版,範例腳本參考:
// 取得時間
runTime=time
Rem start
Delay 1000
TimeVar=DateDiff("s",runTime,time)
// 每30秒按一次空白鍵
If TimeVar mod 30=0
KeyPress 32,1
EndIf
// 每600秒按一次Y和H
If TimeVar mod 600=0
KeyPress 89,1
KeyPress 72,1
EndIf
// 每600秒到605秒按三次B
If TimeVar mod 600=0
For 3
KeyPress 66,1
Delay 1500
EndFor
EndIf
// 每605秒到610秒按三次V
If TimeVar mod 605=0
For 3
KeyPress 86,1
Delay 1500
EndFor
EndIf
// 每610秒到615秒按三次Z
If TimeVar mod 610=0
For 3
KeyPress 90,1
Delay 1500
EndFor
EndIf
Goto start
全站熱搜
留言列表