M705 scroll button

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
dekraan
Posts: 2
Joined: 19 Feb 2018, 11:14

M705 scroll button

19 Feb 2018, 11:50

Hi there,

I'm new to this forum and to scripting in general.

I like to add a function to my Logitech Mouse. It's an m705 with a scroll wheel in between the two Mouse buttons.

I would like the scroll wheel to bring up the desktop when I press it. This requires the command Windows Key + d.

Can anyone help me get the right script?

Does this mean I need to use MButton and Lwin?

Looking for example I found Something like this:

MButton::Send {Lwin Down}{d Down}{d Up}{Lwin up}

Does this make sense?

All your help is very appreciated!
dekraan
Posts: 2
Joined: 19 Feb 2018, 11:14

Re: M705 scroll button

20 Feb 2018, 03:40

Hi all,

I got it working using the following script:

MButton::Send, #d

Is that the right way to do this?

And does anyone know how I can get this script running on windows 10 startup, so I don't have to do this automatically every time?

EDIT: never mind, I used task scheduler to get it running :)
Last edited by dekraan on 20 Feb 2018, 05:49, edited 1 time in total.
gregster
Posts: 9023
Joined: 30 Sep 2013, 06:48

Re: M705 scroll button

20 Feb 2018, 04:46

And does anyone know how I can get this script running on windows 10 startup, so I don't have to do this automatically every time?
Put a shortcut to your file into your startup folder.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb, Google [Bot], Rohwedder, slowwd and 221 guests