I need help!

Ask gaming related questions (AHK v1.1 and older)
xLegxnd_
Posts: 11
Joined: 22 Mar 2018, 12:59

I need help!

22 Mar 2018, 13:05

I need help!
I want the letter G to be set to the numbers 123 and I want this to happen 2 times every time you press G
thanks for reading and if you know how to do this please tell me!
Rohwedder
Posts: 7616
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: I need help!

23 Mar 2018, 03:34

Hallo,
you speak in riddles!
this ?:

Code: Select all

g:: ;Hotkey: lower case letter g
Send 123
KeyWait, g
Send 123
Return
xLegxnd_
Posts: 11
Joined: 22 Mar 2018, 12:59

Re: I need help!

23 Mar 2018, 06:15

Rohwedder wrote:Hallo,
you speak in riddles!
this ?:

Code: Select all

g:: ;Hotkey: lower case letter g
Send 123
KeyWait, g
Send 123
Return
Hello!
thanks for the help!
that was correct
also do you know how right click can be held down the whole way through the code
sorry I'm new to this!
thanks!
Last edited by xLegxnd_ on 23 Mar 2018, 09:28, edited 1 time in total.
Rohwedder
Posts: 7616
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: I need help!

23 Mar 2018, 08:30

Hallo,
and I thought I understand meanwhile the gamer language!
Do you want a delay (after the second 123) and then a click?

Code: Select all

g:: ;Hotkey: lower case letter g
Send 123
KeyWait, g
Send 123
Sleep, 100 ;100ms delay
Click
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: Shoobis and 36 guests