Hi hymal7
Thank you for your reply.
This is my first time writing autohotkey, so I am quite inexperienced about the programming.
I managed to test it just now by opening a new empty notepad and test it.
I am writing
another second autohotkey which is a little bit more complex than the above first autohotkey.
For the
second autohotkey, I would like to click my right mouse button and have it perform the following functions:
1) press the "shift" key and the middle mouse button at the same time
2) wait for 0.025 seconds
3) press the letter "q"
This code is slightly more complex because it involves middle mouse button which I am unable to test using notepad. Hence I would like to seek help from experienced coders to check whether my code is correct.
Here is my code:
Code: Select all
RButton::
Send, +{MButton}
Sleep, 25
Send, q
return