Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Net4Hack

Click Random Box

Recommended Posts

So if i want to make my program click randomly in a box like x1,y1,x2,y2.

I need to use the MouseInBox function ? Can someone give a examplecode thx.

Share this post


Link to post
Share on other sites

SCAR has autocompletion, open scar and write "Move", and press "CTRL+SPACE", then you get all functions starting with Move.

 

MoveMouseBox(Box:TBox);
{or}
MoveMouseBoxEx(Box:TBox; MouseSpeed: Integer);

EG:

begin
 MoveMouseBox(Box(10,40,20,50));
end.

Edited by slacky

Share this post


Link to post
Share on other sites

Thx for help, guys, it works, but if i want to late my mouse also click, cause now its only move :P .

(x,y, mbleft); ?

 

Ok , guys, i made it like that and it works thanks for all help :P ^^

Edited by Net4Hack

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...