a simple remap issue

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Phroster
Posts: 17
Joined: 10 Mar 2017, 06:35

a simple remap issue

18 Oct 2017, 11:57

According to the AHK documentation, when I press Q, alt shift right click should be produced.
But it doesn't work, it only sends the right click.

Code: Select all

~*q::!+RButton
See: https://autohotkey.com/docs/misc/Remap.htm

" XButton2::^LButton Makes the fifth mouse button (XButton2) produce Control-LeftClick. "
User avatar
Reloaded
Posts: 283
Joined: 25 Aug 2017, 08:48

Re: a simple remap issue

18 Oct 2017, 13:05

Hey, this should work fine ! ;)

Code: Select all

q::

Send, !+ {Rbutton}
return
Guest

Re: a simple remap issue

18 Oct 2017, 15:10

Yes this works, but doesn't produce the same effect

I want to make use of the remap feature, this means I need to define for instance a::b.

According to the documentation ! or + should work. But it doesn't...

The reason I want to use this method, is because it simulated holding the mouse button down.

The code you posted, spams right click.

Code: Select all

~*q::!+RButton
I could also use keywait. As below, but the remap feature should work with like described in the documentation.

Code: Select all

~*q::
click, down, right
keywait, q
click, up, right
return
Phroster
Posts: 17
Joined: 10 Mar 2017, 06:35

Re: a simple remap issue

19 Oct 2017, 07:27

The issue is quite simple actually (bumping my own thread)

When using the remap feature, like this:

Code: Select all

~*q::RButton
Works.

Code: Select all

~*q::!+RButton
The alt and shift are not being sent, although the documentation says it should.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Chunjee, KenC80, mikeyww and 279 guests