Log in

View Full Version : best procedures?



Infantry001
06-26-2006, 06:16 PM
what are the best procedures for typing and moving the mouse?

WhiteShadow
06-26-2006, 06:21 PM
what are the best procedures for typing and moving the mouse?

Moving the Mouse

MMouse(X, Y, RandX, RandY: integer);
x, y = the coord
RandX, RandY = random pixels off x and y. 0, 0 would be perfect click
Example
MMouse(200, 300, 2, 2);

Typing

TypeSend(text : string);
Example
TypeSend('What you want to write here');

phantombmx
06-26-2006, 06:28 PM
MMouse(x, y, ranx, rany);
Mouse(x, y, ranx, rany, left);

x, y -- location of the movement
ranx, rany -- how random it should be in pixels
left -- true will do a left click, false will do a right click
example params:

MMouse(500, 500, 5, 5); //will move the mouse to position 500, 500 with a randomness of 5 pixels on x and y axis
Mouse(500, 500, 5, 5, true); //will move the mouse to 500, 500 with randomness of 5, 5 then left click
Mouse(500, 500, 5, 5, false); //same as above, but will right click instead
the typing procedure i am not sure about because i dont do a lot of typing on scripts

edit: ahh whiteshadow.. beat me.. i had the reply on for like 20 minutes i think :p

The Prince of Randomness?
06-26-2006, 08:11 PM
Sending text: Use SendText('blablabla'); or TypeSend('blablabla');

variants:
SendText2('blablabla'); Will type text make mistakes and correct them.

Capitalize('bla bla bla'); will type Bla Bla Bla

SendMyText('blablabla');
Types text humanlike either making mistakes and backspacing to
correct it, sending the correction with a * after it, ignoring the mistake
or not making a mistake at all.