Jump to content
Sign in to follow this  

hotkey for mouse?

Recommended Posts

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 by element72

Share this post

Link to post
Share on other sites

I haven't tried it but try this:

#include <Misc.au3>

While 1
    If _IsPressed ("04") Then;04 is the middle mouse button
        While _IsPressed("04")
            Sleep (250)

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...