Hello,
Just like the title says, im looking for a script which does an action when im holding down right click and then press left
Example : *Holding right click*, *pressed left click*, script types out Hello world
Im not that good at AHK so im hoping some smarter people are willing to help me out here.
Some context, I want to use a sniper in a game, while i am scoped in (holding right click) i shoot (clicking left click) then the script presses G and then 1
[Mod action: Moved topic to “Gaming”]
If right click is held down, and left is clicked, do action
If right click is held down, and left is clicked, do action
Last edited by Noboxie on 05 Jul 2022, 18:30, edited 1 time in total.
Re: If right click is held down, and left is clicked, do action
Welcome to this AutoHotkey forum!
Test in Notepad.
Test in Notepad.
Code: Select all
RButton::RButton
RButton & LButton::Send Hello, world{!}