本帖最後由 yanas63 於 2011-4-7 00:48 編輯
For 16959
IfColor 745,591,"50BD81",0 Then
KeyPress "4", 1
Else
IfColor 745,590,"D9BF83",0 Then
KeyPress "2", 1
Else
IfColor 744,592,"89FF",0 Then
KeyPress "1", 1
Else
IfColor 745,591,"6E34D5",0 Then
KeyPress "3", 1
Else
End If
End If
End If
End If
Delay 4000
IfColor 808,590,"2A3FF",0 Then
KeyPress "1", 1
Else
IfColor 809,589,"C49B3F",0 Then
KeyPress "2", 1
Else
IfColor 806,590,"6AC897",0 Then
KeyPress "4", 1
Else
IfColor 808,588,"A987E5",0 Then
KeyPress "3", 1
Else
End If
End If
End If
End If
Delay 4000
IfColor 833,590,"66C796",0 Then
KeyPress "4", 1
Else
IfColor 835,590,"663FD9",0 Then
KeyPress "3", 1
Else
IfColor 834,591,"149DFC",0 Then
KeyPress "1", 1
Else
IfColor 832,588,"D1B065",0 Then
KeyPress "2", 1
Else
End If
End If
End If
End If
Delay 2000
KeyPress "Space", 10
Next
這是我寫的按鍵精靈,但是,不知道為什麼,只要一執行一段,就會按空白鍵,我把空用掉,卻沒有辦法,執行第三段,請問,我該如何修改,比較合適。我的目的是,程式執行完第一個程式後,能夠停留一段時間後再跑第二段,最後,再跑第三段,在全部執行後,能夠按空白鍵。
我是新手~請比較厲害的大大們幫我一下忙,小妹,在此非常的感激。 |