Left Click + Right Click Script Request.

Ask gaming related questions
Novelty1
Posts: 10
Joined: 25 Feb 2018, 03:10

Left Click + Right Click Script Request.

14 Apr 2018, 06:37

I request a script where when im holding left click, it immediately right click. So basically i want a script when im holding down left click, the script execute a right click action. (idk if im using words correctly, damn). Also make "\" to suspend the script.
User avatar
Nwb
Posts: 444
Joined: 29 Nov 2016, 08:56

Re: Left Click + Right Click Script Request.

14 Apr 2018, 12:20

Hey bud,

So I'm not sure exactly what you're asking for. But I have two interpretations.

First: Do you want the left mouse button completely remapped to the right mouse button?
In that case use this:

Code: Select all

LButton:: RButton
\:: Suspend, Toggle
Second: Do you want the native function of LButton but you also want there to be a right button click when you trigger your left mouse button?
In that case use this:

Code: Select all

~LButton: Send, {RButton}
Furthermore if you want the right button to be sent only if you have been holding the left button for a certain time then use this script:

Code: Select all

~LButton::
Sleep 300 ; this will make it so that the right button is sent if you have been holding it for 300milliseconds (0.3 seconds) Change this to how much ever milliseconds you want it to wait =)
If(GetKeyState("LButton", "P"))
    Send, {RButton}
return
I am your average ahk newbie. Just.. a tat more cute. ;)

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 16 guests