Sign in to follow this  
Followers 0
madalingtandaan

mouse.

4 posts in this topic

im new in using autoit.. though i have little background in programming i find autoit quite easy to use.. what i want to do is when i left click my mouse i want it to right click automatically.

Share this post


Link to post
Share on other sites



im new in using autoit.. though i have little background in programming i find autoit quite easy to use.. what i want to do is when i left click my mouse i want it to right click automatically.

Use IsPressed()

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Welcome to the forum.

Do you want this to be a permanent swap - or - only when your script is running? If permanent, then look at the registry key in the sample code in the help file under MouseClick

("HKEY_CURRENT_USER\Control Panel\Mouse", "SwapMouseButtons")

If you only want this swap while running your script, then consider changing that setting or using Generator's suggestion.

-MSP-

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

ok ill try Use IsPressed(). i just remembered.. what i want to do.. when i left click. right after i release it then the right click would follow..

its like when you left click i would like autoit to send a right click right after.

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