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

Need help with script.

Recommended Posts

Hello,

I was wondering if it's possible to do such thing I have a color follow Script for a game but its using my main cursor is it possible to make it silent mouse klick?

 

Script im running is here and it works fine but I just need it not to use my main cursor thanks!

 

Program FindColorClickColor;

 

Const

Color = 65280; // color you wish to click

 

Procedure FindClick;

Var

X,Y,W,H: Integer;

begin

GetClientDimensions(W,H);

If FindColorTolerance(X,Y,Color,0,0,W,H, 4) then

Begin

MoveWindMouse(X,Y,0,0);

ClickMouse(X,Y,True);

end;

end;

 

begin

Repeat // Repeats for ever.. or until program is stopped.

FindClick;

Wait(150);

Until False;

end.

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...