Page 1 of 1

Left ctrl + click = Xbutton2.. how to put that into a script?

Posted: 01 Apr 2024, 13:05
by Creator-Beerus
Hey guys, I'm seeking for some help with my script.. I'm not really familiar with autohotkey, but I'm trying to find the following code --> left ctrl + click. I'm having 2 other buttons on the side of my mousewheel and want to use 1 of the 2 (the other one is already being used). is this possible?

In some game you have the option to move around with some horse but the horse has gps.. in order to automatically move around I have to point out on the map where to walk to, but I have to keep pressing the left ctrl and then click each time on the mini map to get to a specific map coordination that I pointed out but I have to do that on 12 other accounts.. which is a bit to much..

I want to do this on all of my 12 accounts at the same time without having to switch the windows of my 12 clients.

Any help would be greatly appreciated!

Happy Easter! <3 :) :D

Re: Left ctrl + click = Xbutton2.. how to put that into a script?

Posted: 14 Apr 2024, 08:23
by mikeyww
Welcome to this AutoHotkey forum!

Perhaps:

Code: Select all

#Requires AutoHotkey v1.1.33.11
XButton2::Send ^{LButton}
If you are new to AHK, I recommend using its current version, which is v2, instead of this older deprecated version that is no longer developed.