for the follow script, i want whenever i use the "scroll down" or "o" while holding the f key. i only want it to sendinput insert up and cancel out the sendinput f on keywait. but when "o" or "scrollwheel" is not pressed or scrolled i want it to work as normal. if someone can help that would be great! thank you.
Code: Select all
$*~f::
sleep 1
SendInput {insert down}
KeyWait, f
{
sleep 0.1
}
SendInput {f} -so when i press "o" or "scrollwheel down" while still holding the f key.
SendInput {insert up}
Return
[Mod edit: Wrong subforum: Moved topic to AHK v1 help, since this is not v2 code.]