Jump to content

Recommended Posts

Posted

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()
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]

Posted

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.

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
×
×
  • Create New...