按鍵精靈多點隨機點選,按鍵精靈多個座標點隨機點選

2021-03-04 03:51:29 字數 4159 閱讀 2054

1樓:烏鴉飄過

dim x, y, i

x = array(0, 0, 0, 0) '四個0分別為四個點的橫座標

y = array(0, 0, 0, 0) '四個0分別為四個點的縱座標

i = 0

dorandomize

i = int(rnd * 4 + 1)

moveto x(i - 1), y(i - 1)leftclick 1

delay 1000 '1000是點選間隔(ms)loop

按鍵精靈多個座標點隨機點選

2樓:匿名使用者

你從**上弄的**,不是你要的功能,他那個**沒有保障在四次點選,每乙個座標都點到。

要實現你這個功能,用陣列比較方便,**我不解釋了,你自己看著辦,**如下:

dim num(4), x(4), y(4)

x(1) = 1 : y(1) = 1

x(2) = 10 : y(2) = 10

x(3) = 33 : y(3) = 33

x(4) = 654 : y(4) = 75

while true

for i = 1 to 4

num(i) = 0

next

n = 1

while n < 5

randomize

a = int(4 * rnd + 1)

for i = 1 to n

if num(i) = a then

exit for

end if

if i >= n then

num(n) = a

n = n + 1

exit for

end if

next

wend

//messagebox num(1) & "|" & num(2) & "|" & num(3) & "|" & num(4)

for i = 1 to 4

m = num(i)

call plugin.bkgnd.leftdoubleclick(hwnd, x(m), y(m))

delay 100

next

wend

如果你只想點選四個座標一次,你就把while true……wend去掉。

手機按鍵精靈怎麼在指定打幾個點隨機迴圈點選 20

3樓:愛安靜的颱風

您好,因為沒有怎麼去研究手機上的精靈,大概在電腦上的**是這樣,應該是通用的內.請參考

do//執行隨機點選容

findmulticolor 23,0,104,655,"108af7","17|-2|0c68af,11|-184|e9d067,41|-181|54dbfb,3|168|be350d,26|155|fffba2,38|211|123fd2,35|256|113fcc",0,0.9,intx,inty

if intx > -1 and inty > -1 thentraceprint "開始執行隨即點選"

x=int((20 * rnd) + 100)y=int((20 * rnd) + 100)tap x,y

delay 200

//註釋 20為隨機的範圍大小.100為x/y的原始起點.

按鍵精靈指定區域隨機點選一點 50

4樓:吃雞小能手

randomize

x = int(481 * rnd + 20)randomize

y = int(201 * rnd + 600)moveto x, y

rightclick 1

按鍵精靈指定目標隨機點選

5樓:街頭吃蘋果

那個操作比較麻煩,你可以用下「極速點選虎」這樣的軟體,是完全圖形化介面設定。而且極速點選虎具有多種點選目標,隨機點選,按鍵模擬等功能。

怎麼使按鍵精靈在網頁固定中3個點隨機點選,有可能全選,也可能只選1-2項?

6樓:匿名使用者

randomize

v = int(12 * rnd)//全選的概率佔50% 如果覺得太高可將12適當調低

//msgbox rnd

//msgbox 12*rnd

//msgbox v

if v = 0 then

call plugin.msg.tips("1")moveto 388, 593

leftclick 1

elseif v = 1 then

call plugin.msg.tips("2")moveto 522, 593

leftclick 1

elseif v = 2 then

call plugin.msg.tips("3")moveto 703, 593

leftclick 1

elseif v = 3 then

call plugin.msg.tips("12")moveto 388, 593

leftclick 1

moveto 552, 593

leftclick 1

elseif v = 4 then

call plugin.msg.tips("23")moveto 552, 593

leftclick 1

moveto 703, 593

leftclick 1

elseif v = 5 then

call plugin.msg.tips("13")moveto 388, 593

leftclick 1

moveto 703, 593

leftclick 1

else

call plugin.msg.tips("123")moveto 388, 593

leftclick 1

moveto 552, 593

leftclick 1

moveto 703, 593

leftclick 1

end if

按鍵精靈區域隨機點選 5

7樓:匿名使用者

左x = 155 : 上y = 183'設定左抄上座標右x = 271 : 下y = 228'設定右襲下座標function 取隨機整數(最小, 最大)randomize

取隨機整數 = int((最大 - 最小 + 1) * rnd + 最小)

end function

do '迴圈點選

moveto 取隨機整數(左x, 右x), 取隨機整數(上y, 下y)

delay 20

leftclick 1

delay 1000

loop

按鍵精靈 區域內隨機點選怎麼弄啊

8樓:time遙望天空

//只是

來隨機位置點源擊?判斷都

不需要?

randomize

//*****==第乙個

a=int(rnd() * 140)

moveto 1242 + int(rnd() * 140), 744

leftclick 1

//*****==第二個

a=int(rnd() * 140)

moveto 1242+int(rnd()*140),768leftclick 1

9樓:匿名使用者

搜尋rnd命令 有隨機數函式

手機按鍵精靈 在乙個範圍內不停隨機點選

10樓:彝凝楓

sub 滑鼠

來隨自機偏移()

dim aa1

randomize

aa1 = int(rnd * 3)

select case aa1

case 0

moveto intx + 2, inty + 2case 1

moveto intx + 1, inty + 1case 2

moveto intx, inty

end select

delay 100

end sub

按鍵精靈滑鼠隨機移動,按鍵精靈滑鼠隨機移動

moveto 10,10 第乙個固定的位置leftclick 1 delay 100 moveto 20,20 第二個固定的位置leftclick 1 delay 100 隨機移動24個位置 for 24 x 隨機數 1,200 數量要自己寫y 隨機數 1,500 moveto x,y delay ...

按鍵精靈輸入隨機數問題,按鍵精靈 輸入隨機數文字

randomize d1 int 40 rnd 170 1000d2 int 25 rnd 320 1000不過這兩個隨機數可能是相關的。那你就在產生隨機數之前各自初始化一次就行 就是randomize語句 第一次玩啊,那就玩明白點的,首先最好先了解一下隨機函式rnd是怎樣的,看如下說明 隨機數函式...

按鍵精靈子程式,按鍵精靈 呼叫子程式

大漠註冊略 dodm ret dm.findpic 560,95,1161,574,倩女幽魂.bmp 星辰變.bmp 仙途.bmp 000000 0.9,0,intx,inty delay 20 messagebox 找到,倩女幽魂 exit do elseif dm ret 1 thenmessa...