madalingtandaan Posted April 25, 2007 Posted April 25, 2007 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.
Generator Posted April 25, 2007 Posted April 25, 2007 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()
herewasplato Posted April 25, 2007 Posted April 25, 2007 (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 April 25, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size]
madalingtandaan Posted April 25, 2007 Author Posted April 25, 2007 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.
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