madalingtandaan Posted April 25, 2007 Share 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. Link to comment Share on other sites More sharing options...
Generator Posted April 25, 2007 Share 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() Link to comment Share on other sites More sharing options...
herewasplato Posted April 25, 2007 Share 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] Link to comment Share on other sites More sharing options...
madalingtandaan Posted April 25, 2007 Author Share 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. Link to comment Share on other sites More sharing options...
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