求按键精灵随机按键(1——4)中一个按键,如何编写?

[复制链接]
查看11 | 回复3 | 2012-6-27 01:23:09 | 显示全部楼层 |阅读模式
随机也算是按那个都无所谓吧 那就让他循环rem 按下1键代码间隔时间 多少秒按下2键代码间隔时间 多少秒按下3键代码间隔时间 多少秒按下4键代码间隔时间 多少秒goto你不停止就继续按下去...
回复

使用道具 举报

千问 | 2012-6-27 01:23:09 | 显示全部楼层
Dim n,nu,myArrayRandomizemyArray = Split("1 2 3 4")n = UBound(myArray)Nu = myArray(Int((n+1)*Rnd))KeyPress ""&nu&"",1...
回复

使用道具 举报

千问 | 2012-6-27 01:23:09 | 显示全部楼层
Rem startRandomizex = Int(100 * Rnd)If x57 then Goto startEndIf x=cstr(chr(x))Delay 1000KeyPress x,1...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行