按键精灵!为什么 显示 语法错误:脚本 我的脚本1 ,第2行,第1个字符:(错误码0)没有找到合法的符号。
<p></p><blockquote>DimEnv线程ID1线程ID1=BeginThread(按L)线程ID2=BeginThread(按N或者M)Sub按L()Dok...
<p> </p><blockquote>DimEnv 线程ID1
线程ID1 = BeginThread(按L)
线程ID2 = BeginThread(按N或者M)
Sub 按L()
Do
key = WaitKey()
If key = 76 Then
Do
KeyPress "L", 1
Delay 200
Loop
End If
Loop
End Sub
Sub 按N或者M()
Do
key = WaitKey()
If key = 77 or key = 78 Then
PauseThread 线程ID1
ElseIf key = 76 Then
ContinueThread 线程ID1
End If
Loop
End Sub 展开
线程ID1 = BeginThread(按L)
线程ID2 = BeginThread(按N或者M)
Sub 按L()
Do
key = WaitKey()
If key = 76 Then
Do
KeyPress "L", 1
Delay 200
Loop
End If
Loop
End Sub
Sub 按N或者M()
Do
key = WaitKey()
If key = 77 or key = 78 Then
PauseThread 线程ID1
ElseIf key = 76 Then
ContinueThread 线程ID1
End If
Loop
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询