[Function] MouseExtras - Hold and DoubleClick Actions

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

[Function] MouseExtras - Hold and DoubleClick Actions

04 Oct 2013, 07:01

Assign Labels to Button Hold & Double Click

I've seen a few posts about giving extra functions to mouse buttons by holding or double clicking them, so I decided to adapt a script I had made into a function to allow assigning subroutines to these events.

This function works with any button and keeps the original one-click and drag functions of the button. It should also work with combinations.

MouseExtras.ahk
:arrow: Download from GitHub (Right-Click > Save As)
Spoiler
Example:
Spoiler
Last edited by Pulover on 09 Feb 2016, 20:51, edited 4 times in total.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
Alibaba
Posts: 480
Joined: 29 Sep 2013, 16:15
Location: Germany

Re: [Function] MouseExtras - Hold and DoubleClick Actions

05 Oct 2013, 14:02

[spoiler2] is now
Spoiler
"Nothing is quieter than a loaded gun." - Heinrich Heine
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: [Function] MouseExtras - Hold and DoubleClick Actions

05 Oct 2013, 14:35

Thx, man! I thought it would be temporary. Good work!
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
User avatar
Thoughtfu1Tux
Posts: 125
Joined: 31 May 2018, 23:26

Re: [Function] MouseExtras - Hold and DoubleClick Actions

07 Jul 2019, 15:51

This is a really old post but wanted to say thank you for the awesome script. I love using this on my laptop to click the Mbutton using the Rbutton hold funciton. And i can program different functionality for different programs using #ifwinactive. Awesome stuff!! Thanks!

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: Bing [Bot], Noitalommi_2 and 70 guests