milkman Posted March 16, 2006 Share Posted March 16, 2006 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 More sharing options...
Valuater Posted March 16, 2006 Share Posted March 16, 2006 when it needs to move that fast then... how will it know where to click?? 8) Link to comment Share on other sites More sharing options...
milkman Posted March 16, 2006 Author Share Posted March 16, 2006 click at the spot the mouse is currently Link to comment Share on other sites More sharing options...
greenmachine Posted March 16, 2006 Share Posted March 16, 2006 MouseGetPos. Look stuff up! Link to comment Share on other sites More sharing options...
Valuater Posted March 16, 2006 Share Posted March 16, 2006 then the question is null and void... the speed is for how fast the mouse moves, not how fast it clicks 8) Link to comment Share on other sites More sharing options...
MHz Posted March 16, 2006 Share Posted March 16, 2006 The speed parameter is speed to move to next MouseClick location.I consider that you want to useOpt('MouseClickDelay', 1)to speedup the clicking of MouseClick Link to comment Share on other sites More sharing options...
greenmachine Posted March 16, 2006 Share Posted March 16, 2006 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 More sharing options...
Valuater Posted March 16, 2006 Share Posted March 16, 2006 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) Link to comment Share on other sites More sharing options...
milkman Posted March 16, 2006 Author Share Posted March 16, 2006 Thanks guys, sorry I misunderstood the file. Link to comment Share on other sites More sharing options...
greenmachine Posted March 16, 2006 Share Posted March 16, 2006 Yes Valuater, I read that part, but I also read this part:click at the spot the mouse is currentlyThat goes pretty well with my solution. Link to comment Share on other sites More sharing options...
Valuater Posted March 16, 2006 Share Posted March 16, 2006 Yes Valuater, I read that part, but I also read this part:That goes pretty well with my solution.then its justMouseClick("Left") ... or right8) Link to comment Share on other sites More sharing options...
greenmachine Posted March 16, 2006 Share Posted March 16, 2006 Ok, so combine the two.. use the speed parameter, and the location the mouse is at currectly.. and you get what I posted. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now