Asking for help: when I hit shift+left mouse button, macro will hit letter t

Ask gaming related questions (AHK v1.1 and older)
mdrake
Posts: 10
Joined: 26 Mar 2019, 16:10

Asking for help: when I hit shift+left mouse button, macro will hit letter t

Post by mdrake » 05 Oct 2022, 19:24

Hi, i'm looking for a macro that when i hit shift+left mouse button, the macro will then hit the letter t.
Thanks for assistance.

mdrake
Posts: 10
Joined: 26 Mar 2019, 16:10

Re: Asking for help:

Post by mdrake » 05 Oct 2022, 19:29

hi, what i want iswhen I hit shift+left mouse button, macro will hit letter t, and then after a .2 sec delay it will then hit 5

User avatar
boiler
Posts: 16767
Joined: 21 Dec 2014, 02:44

Re: Asking for help: when I hit shift+left mouse button, macro will hit letter t

Post by boiler » 05 Oct 2022, 19:33

Code: Select all

+LButton::
	Send, t
	Sleep, 200
	Send, 5
return

mdrake
Posts: 10
Joined: 26 Mar 2019, 16:10

Re: Asking for help: when I hit shift+left mouse button, macro will hit letter t

Post by mdrake » 05 Oct 2022, 19:48

Hi, it's hitting 5 right but it's not hitting t.
Thanks

User avatar
boiler
Posts: 16767
Joined: 21 Dec 2014, 02:44

Re: Asking for help: when I hit shift+left mouse button, macro will hit letter t

Post by boiler » 05 Oct 2022, 19:58

Yes it is. Try it in a Notepad window to prove it. The issue is not that it's not sending it, it's whatever it is you're expecting to react to it.

mdrake
Posts: 10
Joined: 26 Mar 2019, 16:10

Re: Asking for help: when I hit shift+left mouse button, macro will hit letter t

Post by mdrake » 05 Oct 2022, 20:00

I tried it in notepad but it only sends 5

User avatar
boiler
Posts: 16767
Joined: 21 Dec 2014, 02:44

Re: Asking for help: when I hit shift+left mouse button, macro will hit letter t

Post by boiler » 05 Oct 2022, 21:44

I can’t see how that would be.

Post Reply

Return to “Gaming Help (v1)”