懂按键精灵高手进来 开发者认证3级 问答题 在线等

2025-03-22 13:15:48
推荐回答(3个)
回答1:

For i = 1 to Len(str)
    strtmp = Mid(str,i,1)
    KeyPress strtmp,1
    Delay 10
Next

 PS:变量前后不要加双引号,不然就是字符串了

回答2:

Dim str,n
str = "vrbrothers"
n = len(str)
For i = 1 To n
Dim j
j = mid(str, i, 1)
KeyPress j, 1
Delay 200
Next

回答3:

for i = 0 to len(str)
keypress "mid(str,i+1,1)"
end for