Hi guys, I tried but found only examples with click on the title bar.
In a script I want to add the function:
Middle Button mouse -> Close window under mouse (also if this is not active)
How can I do?
I'm a total noob, thank you very much.
Sorry for my bad english.
Middle Button mouse -> Close window under mouse
Re: Middle Button mouse -> Close window under mouse
Hallo,
try:
try:
Code: Select all
MButton::
MouseGetPos,,, MouseWin
WinClose, Ahk_id %MouseWin%
Return
Re: Middle Button mouse -> Close window under mouse
It works!Rohwedder wrote:Hallo,
try:Code: Select all
MButton:: MouseGetPos,,, MouseWin WinClose, Ahk_id %MouseWin% Return
Thanks
Who is online
Users browsing this forum: Holarctic, mapcarter, robnicholson, Rohwedder and 335 guests