第1个回答 2013-08-14
Randomize
For 8
VBS m = Int((99 * Rnd) + 1)
If m>0 and m<11
KeyPress "S", 1
EndIf
If m>10 and m<21
KeyPress "D", 1
End If
If m>20 and m<31
KeyPress "J", 1
End If
If m>30 and m<41
KeyPress "Q", 1
End If
If m>40 and m<51
KeyPress "O", 1
End If
If m>50 and m<61
KeyPress "T", 1
End If
If m>60 and m<71
KeyPress "A", 1
End If
If m>70 and m<81
KeyPress "M", 1
End If
If m>80 and m<91
KeyPress "E", 1
End If
If m>90 and m<101
KeyPress "U", 1
End If
上面的是个例子,你可以第一个字母和后面的5分开进行,就可以保证第一个是字母,后面的随机。字母范围和数字范围可以自己增加本回答被网友采纳