Jump to content

Omitting Some Perimeters? Mouseclick Question.


Recommended Posts

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.

Link to comment
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....

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...