So i've been looking all over the interwebs to find a workaround on how to toggle ADS (aim down the sight) and i found a few suggestions regarding autohotkey.
According to wikipedia autohotkey is described as follows:
Quote
AutoHotkey is a free, open-source macro-creation and automation software utility that allows users to automate repetitive tasks in Microsoft Windows. Any application user interface can be modified by AutoHotkey (for example, overriding the default Windows control key commands with their Emacs equivalents).[2] It is driven by a custom scripting language that is aimed specifically at providing keyboard shortcuts or hotkeys.
Unquote
<<<<<click me>>>>>> - the official site
According to Steam, autohotkey is A-OK if used to remap key and mouse clicks but it has been known to cause issues with some versions of punkbuster (beats me why).
Anyways since i felt like this was a solution to make ADS toggled i tried a few script codes but none worked in Rage, but worked fine in windows explorer.....
Here is the code i tryed:
Code: Select all
$RButton::
If NotPushed := Not NotPushed
Send {RButton Down}
Else
Send {RButton Up}
Return
Code: Select all
$RButton:: Send, % "{RButton " ( (Toggle:=!Toggle) ? "Down" : "Up" ) "}"
and
Code: Select all
$RButton::
Send, {RButton Down}
KeyWait, RButton ; see KeyWait
KeyWait, RButton, D
KeyWait, RButton
Send, {RButton Up}
Return
I tried them one after another and none worked within Rage. So i came here to ask for help if anyone knows how to make it work i'd be really greatful.
Regards,
Arc.
Disclaimer i have a very small knowledge of this script program, i just found out yesterday that it exists so go easy on me. The code above i found posted by others, i wasn't able to create it myself.