Make "F" switch between 1 and 2

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
dadda
Posts: 5
Joined: 24 May 2018, 12:21

Make "F" switch between 1 and 2

24 May 2018, 12:28

Hi! I wanted to know if its possible to make my "F" button work as if I would press 1, and if I press it again it's 2 and that it keeps repeating like that? I play fortnite and want a faster way switching shotguns. Thanks!
User avatar
TLM
Posts: 1608
Joined: 01 Oct 2013, 07:52
Contact:

Re: Make "F" switch between 1 and 2

24 May 2018, 15:13

You're after a simple toggle:f::send % ( ( i:=!i ) ? 1 : 2 )

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Rohwedder, ruespe and 358 guests