Tough problem Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Ultragoat

Tough problem

30 Apr 2017, 19:23

Hi for the record I got absolutely no AHK scripting knowledge, I'm just having an issue using a simple script made for me.
Here is the script: http://p.ahkscript.org/?p=63948d23

The purpose of the script is to simply make my LButton only click even if I try to click and drag with it.
The issue is that I am doing something on my computer that requires Shift + LButton, However when I use Shift + LButton it allows the possibility for it to drag, which causes issues. My hope is to change the script so I can use Shift + LButton and still have it work like it did without Shift. Thanks I hope this wasn't too hard to understand and I appreciate any help.
Rohwedder
Posts: 7683
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Tough problem  Topic is solved

01 May 2017, 04:04

Hallo,
try:

Code: Select all

LButton::Click
~Shift & LButton::Click
!LButton::
  Send, {Alt up}
  Send, {LButton down}
  KeyWait, LButton
  Send, {LButton up}
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Darkmaster006, Google [Bot], haomingchen1998, mikeyww and 143 guests