按键精灵按一下 ·(左侧数字键最左边的那个)=同时按左侧数字键123456789,求代码
1个回答
展开全部
话说你确定是左侧不是右侧?下面是代码
Do
If WaitKey = 110 Then
For i = 1 To 9
KeyDown "Num " & i, 1
KeyUp "Num " & i, 1
Next
End If
Loop
Do
If WaitKey = 110 Then
For i = 1 To 9
KeyDown "Num " & i, 1
KeyUp "Num " & i, 1
Next
End If
Loop
追问
老大 ,不行啊 用不了。您看清楚我要的是
按一下 ·(左侧数字键最左边的那个点,就是1前面那个)=同时按左侧数字键123456789,求代码
谢谢了
追答
Do
X=array("1","2","3","4","5","6","7","8","9")
If WaitKey = 192 Then
For i=0 to 8
KeyDown X(i), 1
KeyUp X(i), 1
Next
End If
Loop
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询