$*space::send {ctrl downR}
$*space up::
send {ctrl up}
if a_priorkey = space
send {space}
return
· if i were to hold space and click on a hyper-link, then the page will scroll down as a new window/tab pops up (ctrl + lclick)
? how an i prevent this scrolling from happening
Don't Scroll Page When Opening New Window
Re: Don't Scroll Page When Opening New Window
Hallo,
perhaps:
perhaps:
Code: Select all
~*LButton::Return
$*space::send {ctrl downR}
$*space up::
send {ctrl up}
if a_priorkey = space
send {space}
return
Re: Don't Scroll Page When Opening New Window
· this didn't workRohwedder wrote: ↑10 Apr 2019, 05:51Hallo,
perhaps:Code: Select all
~*LButton::Return $*space::send {ctrl downR} $*space up:: send {ctrl up} if a_priorkey = space send {space} return
· but it's ok
· i assigned the function to its own key
$*lctrl::send ^{click}