Left mouse button drag Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ron2468
Posts: 2
Joined: 29 Jun 2022, 07:40

Left mouse button drag

Post by ron2468 » 29 Jun 2022, 07:51

Hello,
I am trying to simulate a Left mouse button drag while the Left alt key is held down. So, when I press the Left alt key, the mouse is performing a Left click and drag for as long as the Left alt key is held down. When the the Left alt key is released, the mouse releases its Left button too and goes back into its natural state.

It seems simple to me, but I still can't get it right.
Can anyone help me with this?

Thank you.
Ron

User avatar
boiler
Posts: 16918
Joined: 21 Dec 2014, 02:44

Re: Left mouse button drag  Topic is solved

Post by boiler » 29 Jun 2022, 07:58

Code: Select all

LAlt::LButton

ron2468
Posts: 2
Joined: 29 Jun 2022, 07:40

Re: Left mouse button drag

Post by ron2468 » 29 Jun 2022, 17:03

boiler wrote:
29 Jun 2022, 07:58

Code: Select all

LAlt::LButton
Fantastic! Works perfectly!
Thank you!

Post Reply

Return to “Ask for Help (v1)”