Sign in to follow this  
Followers 0
rousni

To 'steal' the Middle Button from other apps

5 posts in this topic

Is there any way to 'steal' the Middle Button from other apps in order to use it as a hotkey by means of _IsPressed func?

Thanks in advance

Share this post


Link to post
Share on other sites



Sounds like an attempt at grand larceny!

Whosoever commits larceny, or any indictable offence by this Act made punishable like larceny, shall, except in the cases hereinafter otherwise provided for, be liable to imprisonment for five years.

5 years? Off with his head!

Share this post


Link to post
Share on other sites

Sounds like an attempt at grand larceny!

5 years? Off with his head!

Petty larceny in fact <_<

(BTW, define a global mouse hotkey is extremely easy using AutoHotkey)

Share this post


Link to post
Share on other sites

Look at the help file for _IsPressed(). It will return the hex for the middle mouse. As far as what is done after that .... uh ... I don't know. Perhaps it's possible to either re-route the call, or ignore it entirely with this trap.

As far as AHK, if that does your job better than AutoIt, by all means, switch.


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

Look at the help file for _IsPressed(). It will return the hex for the middle mouse. As far as what is done after that .... uh ... I don't know. Perhaps it's possible to either re-route the call, or ignore it entirely with this trap.

As far as AHK, if that does your job better than AutoIt, by all means, switch.

I prefer AutoIt3 because of its Unicode Support.

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  
Followers 0