mvp19 Guest
|
Posted: Sun Oct 21, 2007 5:13 pm Post subject: Help a newbie |
|
|
Hi, i'm trying to do a easy script who will click at different place in the screen and wait between all those click. I made a function to make it better, but it doesnt work, it look like the the Click function doesnt like to receive parameters... can you help me ?
;The function I made
AppelClick(x, y, delais, delais_min, delais_max)
{
Click x, y
Random, delais, delais_min, delais_max
sleep delais
return 1
}
;My main program
Run http://www.coucou.com
sleep delais_max
Loop, 10
{
AppelClick(220,450, delais, delais_min, delais_max)
AppelClick(320,450, delais, delais_min, delais_max)
AppelClick(420,450, delais, delais_min, delais_max)
}
MsgBox End of my script |
|