Sign in to follow this  
Followers 0
HBD

Mouse Left-clicking

4 posts in this topic

I know MouseMove(), Send(), Sleep(), etc., but how do I make the mouse left-click? MouseLeftClick?

I'm a noob with AutoIt, and any help would be appreciated.

*Using v3.

Share this post


Link to post
Share on other sites



I know MouseMove(), Send(), Sleep(), etc., but how do I make the mouse left-click?  MouseLeftClick?

I'm a noob with AutoIt, and any help would be appreciated.

*Using v3.

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

Parameters

button The button to click, "left", "right" or "middle".

x, y [optional] The x/y coordinates to move the mouse to. If no x and y coords are given, the current position is used.

clicks [optional] The number of times to click the mouse. Default is 1.

speed [optional] the speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10.


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thanks, JdeB.

Another question, what's the AutoIt name for the arrow keys?

Example: Send("{RIGHTARROW}") ??

Share this post


Link to post
Share on other sites

There is a seperate section in the helpfile on sendkeylist under the appendix section.

this is part of it:

{UP} Cursor up

{DOWN} Cursor down

{LEFT} Cursor left

{RIGHT} Cursor right


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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