I remember successfully using the original script but with the latest version (1.1.22.04) of Ahk it's somehow broken.
Cutting original script to it's bones I came to conclusion that I can't remap RButton to itself if other scripts are running in parallel.
So say, I have a the following simple script
Code: Select all
SendMode Input
RButton::
Send, {RButton}
return
Code: Select all
02 000 h d 1.64 RButton
02 000 s u 0.00 RButton
02 000 a u 0.03 RButton
02 000 h d 0.00 RButton
02 000 a u 0.00 RButton
Code: Select all
$Numpad0::Enter
Code: Select all
02 000 h d 0.75 RButton
02 000 s u 0.00 RButton
02 000 h d 0.00 RButton
02 000 a u 0.02 RButton
Code: Select all
$a::
Send, {RButton}
return
For broken 'a' to 'RButton' case I'm having
Code: Select all
41 01E h d 0.38 a
02 000 h d 0.00 RButton
02 000 a u 0.01 RButton
02 000 h d 0.00 RButton
02 000 a u 0.02 RButton
41 01E s u 0.05 a
Code: Select all
41 01E h d 1.34 a
02 000 a u 0.05 RButton
02 000 h d 0.00 RButton
02 000 a u 0.00 RButton
41 01E s u 0.05 a
I definitely want to run other helper scripts in parallel, so putting them all into one file is not an options because of possible conflicts.