Sign in to follow this  
Followers 0
milkman

Omitting Some Perimeters? Mouseclick Question.

12 posts in this topic

Perform a mouse click operation.


MouseClick ( "button" [, x, y [, clicks [, speed ]]] )

In the help file it says that the 4th optional perimeter is speed. How can I use the optional perimeter 'speed' without having to define an x and y value.

Share this post


Link to post
Share on other sites



when it needs to move that fast

then... how will it know where to click??

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

click at the spot the mouse is currently

Share this post


Link to post
Share on other sites

MouseGetPos. Look stuff up!

Share this post


Link to post
Share on other sites

then the question is null and void... the speed is for how fast the mouse moves, not how fast it clicks

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

The speed parameter is speed to move to next MouseClick location.

I consider that you want to use

Opt('MouseClickDelay', 1)

to speedup the clicking of MouseClick

Share this post


Link to post
Share on other sites

Perform a mouse click operation.


MouseClick ( "button" [, x, y [, clicks [, speed ]]] )

In the help file it says that the 4th optional perimeter is speed. How can I use the optional perimeter 'speed' without having to define an x and y value.

The correct answer to this problem is (assuming a single click with the primary mouse button):

MouseClick ("primary", MouseGetPos(0), MouseGetPos(1), 1, $Speed)

Where $Speed is the speed you define.

Not sure what the other guys were answering....

Share this post


Link to post
Share on other sites

The correct answer to this problem is (assuming a single click with the primary mouse button):

MouseClick ("primary", MouseGetPos(0), MouseGetPos(1), 1, $Speed)

Where $Speed is the speed you define.

Not sure what the other guys were answering....

In the help file it says that the 4th optional perimeter is speed. How can I use the optional perimeter 'speed' without having to define an x and y value.

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Thanks guys, sorry I misunderstood the file.

Share this post


Link to post
Share on other sites

Yes Valuater, I read that part, but I also read this part:

click at the spot the mouse is currently

That goes pretty well with my solution.

Share this post


Link to post
Share on other sites

Yes Valuater, I read that part, but I also read this part:

That goes pretty well with my solution.

then its just

MouseClick("Left")

... or right

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Ok, so combine the two.. use the speed parameter, and the location the mouse is at currectly.. and you get what I posted.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0