I am looking for a authotkey that makes the "g" key toggle all the keys from 3-0 each click it switches from 3-4-5 and so on etc till it reaches 0.
I am playing a game where it uses those keys and the use of the script would just allow me to continuously hit g to switch between the items rather then have to hit all the different buttons over and over.
I don't know how to create scripts so if any help could be given it would be appreciated.
Need Help Setting Up a toggle for 8 buttons to use the same key.
-
- Posts: 4
- Joined: 27 Oct 2021, 21:17
Need Help Setting Up a toggle for 8 buttons to use the same key.
Last edited by BoBo on 28 Oct 2021, 05:15, edited 1 time in total.
Reason: Moved to gaming section.
Reason: Moved to gaming section.
Re: Need Help Setting Up a toggle for 8 buttons to use the same key.
Hallo,
try:
or only for fun i.e. not recommended!
try:
Code: Select all
g::Send,% n:=!n?3:Mod(++n,10)
Code: Select all
g::Send,% :=!?3:Mod(++,10)
-
- Posts: 4
- Joined: 27 Oct 2021, 21:17
Re: Need Help Setting Up a toggle for 8 buttons to use the same key.
nope not working ingame only works while typing.Rohwedder wrote: ↑28 Oct 2021, 01:57Hallo,
try:or only for fun i.e. not recommended!Code: Select all
g::Send,% n:=!n?3:Mod(++n,10)
Code: Select all
g::Send,% :=!?3:Mod(++,10)
-
- Posts: 4
- Joined: 27 Oct 2021, 21:17
Re: Need Help Setting Up a toggle for 8 buttons to use the same key.
nope not working ingame only works when I type using "g" in my browser........the game is hunt showdown I don't know if that matters or not though.Rohwedder wrote: ↑28 Oct 2021, 01:57Hallo,
try:or only for fun i.e. not recommended!Code: Select all
g::Send,% n:=!n?3:Mod(++n,10)
Code: Select all
g::Send,% :=!?3:Mod(++,10)
-
- Posts: 4
- Joined: 27 Oct 2021, 21:17
Re: Need Help Setting Up a toggle for 8 buttons to use the same key.
rohwedder unfortunately that didn't work it only works when I am on my browser the game doesn't seem to register it.......the game is "hunt showdown" I don't know if that matters or not but figured I would post here......will respond tomorrow when I wake up
Re: Need Help Setting Up a toggle for 8 buttons to use the same key.
Then perhaps:or:
or: How to make AHK work in most games - The Basics
Code: Select all
g::
SendInput,% "{" (n:=!n?3:Mod(++n,10)) " Down}"
KeyWait, g
SendInput, {%n% Up}
Return
Code: Select all
*g::SendInput,% "{Blind}{" (n:=!n?3:Mod(n+!GetKeyState(n),10)) " DownR}"
*g Up::SendInput, {Blind}{%n% Up}
Who is online
Users browsing this forum: No registered users and 61 guests