Ctrl+Shift+z+LMB

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

Ctrl+Shift+z+LMB

28 Apr 2017, 12:04

Hi,

Trying to map Ctrl+Shift+z+LMB to map to a key but can't figure it out. Any ideas?

Thank you so much
User avatar
TheDewd
Posts: 1510
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Ctrl+Shift+z+LMB

28 Apr 2017, 12:50

Code: Select all

^+LButton:: ; Control + Shift + Left Mouse Button
    If (GetKeyState("z", "p")) { ; Is "z" held down?
        MsgBox, Success! ; Display MessageBox
    }
return
Guest

Re: Ctrl+Shift+z+LMB

28 Apr 2017, 15:10

Wow thanks for a reply, but it didn't seem to do anything. What i am trying to do is to map Numpad2 to Ctrl+Shift+z+LMB. possible?
Appreciate help a lot.
artintime
Posts: 20
Joined: 28 Apr 2017, 11:55

Re: Ctrl+Shift+z+LMB

28 Apr 2017, 17:05

Right, I've decided to not go with LMB but only map Ctrl+Shift+z to hold pressed to Numpad2. Any ideas?
This is what I have and obviously it doesn't work: Numpad2::^+z

Thank you so much!
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: Ctrl+Shift+z+LMB

29 Apr 2017, 05:34

Maybe this,

Code: Select all

Numpad2::
	Send,{ctrl down}{shift down}{z down}
	KeyWait,Numpad2
	Send,{z up}{shift up}{ctrl up}
return
artintime
Posts: 20
Joined: 28 Apr 2017, 11:55

Re: Ctrl+Shift+z+LMB

29 Apr 2017, 07:30

Hi Helgef,
Thanks a lot, it worked! But now it seems that the keys stay pressed and no matter how many times I click it still doesn't want to let go. Any ideas?

Thanks again.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada, roeleboele, Rohwedder, ulysim and 390 guests