
按键精灵(错误代码0)没有找到合适的字符该怎么办啊?
各位好心人,帮忙看下我的按键精灵到底哪里出错了KeyPress"F1",1Delay100KeyPress"F2",1Delay1000IfColor279,55,"13...
各位好心人,帮忙看下我的按键精灵到底哪里出错了
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Delay 1000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
End If
For 16959
Next
语法错误:脚本 我的脚本1 ,第50行,第0个字符:(错误码0)没有找到合法的符号。
我这些到底哪里有问题啊? 展开
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Delay 1000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
IfColor 279,55,"131213",0 Then
KeyPress "F1", 1
Delay 100
KeyPress "F2", 1
Else
Delay 2000
End If
For 16959
Next
语法错误:脚本 我的脚本1 ,第50行,第0个字符:(错误码0)没有找到合法的符号。
我这些到底哪里有问题啊? 展开
1个回答
展开全部
每个If语句都必须对应一个end if
你的这段程序中有7个IfColor,但是只有1个End If,所以过不了语法检查了
还有一个问题,不会引起语法错误,但是这样写除了增加系统负担以外没什么意义
For 16959
Next
如果你是需要延时的话用Delay语句吧,这样没内容的循环语句不推荐
你的这段程序中有7个IfColor,但是只有1个End If,所以过不了语法检查了
还有一个问题,不会引起语法错误,但是这样写除了增加系统负担以外没什么意义
For 16959
Next
如果你是需要延时的话用Delay语句吧,这样没内容的循环语句不推荐
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询