Sign in to follow this  

AutoHotKey script

Recommended Posts

I tried to try, but I am unable to achieve any basic coding/scripting. So maybe someone has some hints?



I'd like an autohotkey script that does the following:


Right and left mouse buttons have their functions. When I hold down the right mouse button, it should have a third function, which causes the left mouse button to have a fourth action. In short LButton has function1, RButton function2, holding down RButton does function3, which makes using LButton having function4 (as long as RButton is held). Releasing RButton will return LButton/RButton to their default functions1/2.



I don't even know where to begin.

Share this post

Link to post
Share on other sites

what environment should the script be running in? desktop, some game?


EDIT: oh. sorry, I missed the "autohotkey" part. doesn't matter then. I remember using it for some games a while ago.


their tutorial has a simple example



so, starting with # (Win key) are the keys/buttons, and with :: - actions. you just have to find some reference material with all the keys and possible actions. in that example the script will trigger with pressing Win + Space

Edited by AbsoluteVirtue

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this