Greetings to the group! I've been through the beginner's tutorial and have searched the forum but having a hard time getting a basic .ahk to work.
I'm trying to get an end result of the combination "Control + Left Mouse Click" to happen when I click my mouse button 5. I know I can get fancy and select the actual program this happens in, and even the exact screen position the cursor is in when it happens. The fancy stuff will come (I hope!) with time and practice.
I may be simply over-thinking this, but as simple as it is, I haven't been able to get it to work.
Any help would be greatly appreciated!
Thanks
Doc
New User Help with Control + Click
-
- Posts: 440
- Joined: 28 Apr 2018, 21:59
Re: New User Help with Control + Click
First is the Mouse Button 5 found here https://autohotkey.com/docs/KeyList.htm
Next is the Send command https://autohotkey.com/docs/commands/Send.htm
Next is the Send command https://autohotkey.com/docs/commands/Send.htm
Code: Select all
XButton2:: Send ^{Click}
Re: New User Help with Control + Click
I was right - I was trying to over-engineer it! I had tried XButton, but apparently not in the correct context.
This gives me something to start building on!
Thanks!
This gives me something to start building on!
Thanks!
-
- Posts: 440
- Joined: 28 Apr 2018, 21:59
Re: New User Help with Control + Click
Yup, and there are a few ways you could do it, but the way I showed it was the normal way to do it.
Who is online
Users browsing this forum: Google [Bot], ShatterCoder and 212 guests