help for command please

Ask gaming related questions (AHK v1.1 and older)
night_devil
Posts: 2
Joined: 24 Feb 2018, 02:06

help for command please

24 Feb 2018, 02:20

hi all, i want to make command holding alt +f1 same time that loops alt +f1 5 times
for example while holding alt+f1 (hit 5 times with alt +f1)
ty for help
User avatar
Nwb
Posts: 444
Joined: 29 Nov 2016, 08:56

Re: help for command please

25 Feb 2018, 11:16

Does this work like you want it to?

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#MaxThreadsPerHotkey 2

Alt & f1::
Send, {Alt}{f1}{Alt}{f1}{Alt}{f1}{Alt}{f1}{Alt}{f1}
return

esc:: ExitApp ; esc, exits the script
I am your average ahk newbie. Just.. a tat more cute. ;)
night_devil
Posts: 2
Joined: 24 Feb 2018, 02:06

Re: help for command please

27 Feb 2018, 11:59

yes bro ty for help :)

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 39 guests