I am looking for a script to hold down RMB to zoom in instead of the normal toggle function in cs go. If anyone knows of a script like this please link it here or please help me create one, I am NOT looking for a quick switch macro. I would attempt to do it myself but I have tried in the past and I am not very good at it.
So basicly what I need the script to do is this:
IF hold RMB then press "RMB" once
IF release RMB then press "RMB" two times
Thanx in advance
hold ads instead of toggle
-
- Posts: 1259
- Joined: 16 Apr 2015, 09:41
Re: hold ads instead of toggle
Try this...
Code: Select all
RButton::
Send {RButton}
Return
RButton Up::
Send {RButton 2}
Return
Last edited by Shadowpheonix on 23 Aug 2016, 17:50, edited 1 time in total.
Re: hold ads instead of toggle
Try this:
You may want to prefix your code with an #IfWinActive block, to make the remapping only take effect in the game.
Code: Select all
$*RButton::
Send {Blind}{RButton}
return
$*RButton up::
Send {Blind}{RButton 2}
retutrn
Re: hold ads instead of toggle
LOL, almost identical. The {Blind} in mine would mean that if you are holding a modifier such as ctrl or shift when you trigger the macro, it will not release them. Plus, you really should prefix hotkeys that send themselves with $
Re: hold ads instead of toggle
Where would you input these scripts into? Like how would you implement these onto your machine?
Re: hold ads instead of toggle
This is the AutoHotkey forum, take a wild guess...
Who is online
Users browsing this forum: Shoobis and 130 guests