在BCB中怎样用代码实现模拟键盘击键
展开全部
//这里按键如果是按下的话你自己改下注意键盘按下后要加弹起命令
Do
last_click = WaitClick()
TracePrint last_click
Select Case last_click
Case 32773
KeyPress "Z", 1
Case 32782
KeyPress "X", 1
Case 32781
KeyPress "C", 1
Case 32777
KeyPress "V", 1
Case 32778
KeyPress "V", 1
Do
last_click = WaitClick()
TracePrint last_click
Select Case last_click
Case 32773
KeyPress "Z", 1
Case 32782
KeyPress "X", 1
Case 32781
KeyPress "C", 1
Case 32777
KeyPress "V", 1
Case 32778
KeyPress "V", 1
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询