Jump to content
Sign in to follow this  
honwahp

loop?

Recommended Posts

honwahp

Hi , I am trying to create an autoit script so that every time I left-click with the mouse, I send "enter" to the keyboard. This is my script:

CODE
if MouseClick("left")=1 then send ("{ENTER}")

However , this ends very fast. I would like this script to keep going on so that every time I click with the mouse, the "enter" is sent to the keyboard. Is there a way to do this? (Please excuse my poor English)

Share this post


Link to post
Share on other sites
Jos

Have you opened the helpfile and checked what that line of code does?

It will also have info on your loop question.

Jos


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  

×