close
// 英文與數字對照表
// Q W E    7 8 9
// A S D ==>4 5 6
// Z X C    1 2 3
//
Rem start
// 等待按鍵,k為變量名
WaitKey k
//當按鍵為Z時,則自動按下1鍵一次。
If k=90
KeyPress 49,1
//當按鍵為X時,則自動按下2鍵一次。
ElseIf k=88
KeyPress 50,1
//當按鍵為C時,則自動按下3鍵一次。
ElseIf k=67
KeyPress 51,1
//當按鍵為A時,則自動按下4鍵一次。
ElseIf k=65
KeyPress 52,1
//當按鍵為S時,則自動按下5鍵一次。
ElseIf k=83
KeyPress 53,1
//當按鍵為D時,則自動按下6鍵一次。
ElseIf k=68
KeyPress 54,1
//當按鍵為Q時,則自動按下7鍵一次。
ElseIf k=81
KeyPress 55,1
//當按鍵為W時,則自動按下8鍵一次。
ElseIf k=87
KeyPress 56,1
//當按鍵為E時,則自動按下9鍵一次。
ElseIf k=69
KeyPress 57,1
EndIf
Delay 40
Goto start
arrow
arrow
    全站熱搜

    魔幻小鱉 發表在 痞客邦 留言(0) 人氣()