element72 Posted August 7, 2014 Share Posted August 7, 2014 (edited) I can't find what I am looking for. I'm trying to make the middle mouse button a "hotkey" for left and right mouse button. I want to click the middle mouse button (the scroll wheel), so that uses left and right mouse buttons together (at the same time). What is the easiest way to accomplish this? Edited August 7, 2014 by element72 Link to comment Share on other sites More sharing options...
computergroove Posted August 8, 2014 Share Posted August 8, 2014 I haven't tried it but try this: #include <Misc.au3> While 1 If _IsPressed ("04") Then;04 is the middle mouse button MouseDown("Left") MouseDown("Right") While _IsPressed("04") Sleep (250) WEnd Else MouseUp("Left") MouseUp("Right") WEnd Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html 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